Uploaded image for project: 'Shindig'
  1. Shindig
  2. SHINDIG-668

Paging support for Activities

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • 1.1-BETA1
    • Java, Javascript
    • 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.

      Attachments

        1. activity-paging.diff
          9 kB
          David M. Johnson

        Issue Links

          Activity

            People

              Unassigned Unassigned
              snoopdave David M. Johnson
              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