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

Do not override the global page size when viewing/editing a saved search

    XMLWordPrintable

    Details

    • Release Notes Summary:
      The global page size is kept after viewing/editing a saved search.
    • Backlog priority:
      800
    • Sprint:
      nxsupport 10.2.4
    • Story Points:
      1

      Description

      After NXP-22016, when a saved search is edited (or viewed), the page size is set to 1 for the corresponding content view.

      This is due to this line in /search/incl/tabs/savedsearch_document_edit.xhtml (or in /search/incl/tabs/savedsearch_document_view.xhtml)

      <nxu:set var="contentView"
        value="#{contentViewActions.getContentViewWithProvider(currentDocument.cvd.contentViewName, currentDocument, null, 1, -1, -1)}"
        cache="true">
      

      when the parameter which corresponds to defaultPageSize is set to 1

      It should be set to -1 not to change the current page size.

        Attachments

          Issue Links

            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 - 30 minutes
                  30m

                    PagerDuty

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