Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 1.1-BETA1
    • Component/s: Java, Javascript
    • Labels:
      None

      Description

      ActivityHandler has the following comment:

      // TODO: add pagination and sorting support
      // getSortBy(params), getFilterBy(params), getStartIndex(params), getCount(params),

      And indeed, paging is not implemented for activities.

      I have a patch that adds paging support and I will upload it shortly. The patch adds first and max parameters to methods in ActivityHandler, ActivityService and makes corresponding changes in associated tests. It also makes changes on the JavaScript API side, adding FIRST and MAX fields to the ActivityRequestFields and the code to set them in jsonrpccontainer.js.

        Issue Links

          Activity

          Hide
          Dave Johnson (Inactive) added a comment -

          the aforementioned patch

          Show
          Dave Johnson (Inactive) added a comment - the aforementioned patch
          Hide
          Paul Lindner added a comment -

          This is another case of incomplete opensocial specifications. I think the patch is great, but this is not formally defined yet.

          Show
          Paul Lindner added a comment - This is another case of incomplete opensocial specifications. I think the patch is great, but this is not formally defined yet.
          Hide
          Paul Lindner added a comment -

          Oh, and it might be good if one could leverage the CollectionOptions class here too...

          Show
          Paul Lindner added a comment - Oh, and it might be good if one could leverage the CollectionOptions class here too...
          Hide
          Paul Lindner added a comment -

          fixed

          Show
          Paul Lindner added a comment - fixed

            People

            • Assignee:
              Unassigned
              Reporter:
              Dave Johnson (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Development