Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-23202

Expose max results in the page provider response

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.3
    • Component/s: Rest API
    • Release Notes Description:
      Hide

      resultsCount property has been added to the page provider response so as to let the client knows what are the server side limit of search result computation. this value is configured serverside with the property "maxResults".

      Show
      resultsCount property has been added to the page provider response so as to let the client knows what are the server side limit of search result computation. this value is configured serverside with the property "maxResults".
    • Upgrade notes:
      Hide

      New org.nuxeo.ecm.platform.query.api.PageProvider.getResultsCountLimit() method on page provider api to access the limit of number of results beyond which the page provider may not be able to compute the result count.

      • navigate.
      Show
      New org.nuxeo.ecm.platform.query.api.PageProvider.getResultsCountLimit() method on page provider api to access the limit of number of results beyond which the page provider may not be able to compute the result count. navigate.
    • Sprint:
      nxGang Sprint 9.3.8
    • Story Points:
      2

      Description

      We should return the maxResults in the page provider response so that clients are aware of this.

      Typically, web ui lazy scrolling in Web UI needs to know up to how many results it should allow to scroll.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day
                1d

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.