Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-17616

Moving to an arbitrary search page result could lead to incomplete results

    Details

    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      When viewing search results, if you change the number of items per page. However, the prev/next cache may not be refreshed up to latest item in the result. You will then get a partial result.

      Example, if you have a group of 700 items, you choose a pager of 200 items. If you go to the 2nd page, prev/next cache will not be updated and you will see the results up to 500 missing the 500-600 items.

      Other example, if you set a pager bigger than 500, prev/next cache won't load more than the first 500 so each page will only display the first 500 items.

      Related to https://issues.civicrm.org/jira/browse/CRM-16056

        Attachments

        1. ExistingCode_RowCount500.PNG
          406 kB
          David Greenberg
        2. PR7276_RowCount_0.PNG
          417 kB
          David Greenberg

          Activity

            People

            • Assignee:
              samuelsov Samuel Vanhove
              Reporter:
              samuelsov Samuel Vanhove
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: