Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-25175

Setting incorrect pagination offset in subitems view

    XMLWordPrintable

Details

    Description

      Steps to reproduce:
      1. Be sure that limit for subitems list is 10 (it will be easier to test)
      2. Find folder when you have got miltiplication of the limit of children locations (for example 20 or 30) - it must be multiplication of the limit
      3. Use "Last" button of pagination for subitems list
      4. Results won't be returned, because offset has been set too high

      The reason of that is incorrect calculation for offset for last page which fails in case when total number of results is multiplication of page limit.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mateusz.hyndle-obsolete@ez.no Mateusz Hyndle (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: