Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-6422

Paginator.getListLimits listSize gets set to viewSize for FindServices.performFindList

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Implemented
    • Affects Version/s: Trunk
    • Fix Version/s: 16.11.01
    • Component/s: framework
    • Labels:
      None

      Description

      I simply changed a grid/form <service> service-name attribute from performFind to performFindList and the listSize gets set to 20 causing the paginator not to render since it thinks all results are being shown.

      It seems performFindList isn't as compatible with form widgets as performFind which may be worthy a separate JIRA.

      1. OFBIZ-6422.patch
        0.9 kB
        Christian Carlow

        Issue Links

          Activity

          Hide
          jacques.le.roux Jacques Le Roux added a comment -

          Thanks Chriistian,

          Your patch is in trunk at revision: 1710413

          Show
          jacques.le.roux Jacques Le Roux added a comment - Thanks Chriistian, Your patch is in trunk at revision: 1710413
          Hide
          ofbizzer Christian Carlow added a comment -

          This patch adds code to Paginator to account for the entryList being instanceOf List and extracts extracts from the context.results object the original listSize.

          Show
          ofbizzer Christian Carlow added a comment - This patch adds code to Paginator to account for the entryList being instanceOf List and extracts extracts from the context.results object the original listSize.

            People

            • Assignee:
              jacques.le.roux Jacques Le Roux
              Reporter:
              ofbizzer Christian Carlow
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development