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

Setting incorrect pagination offset in subitems view

    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.

        Issue Links

          Activity

          Mateusz Hyndle (Inactive) created issue -
          Damien Pobel (Inactive) made changes -
          Field Original Value New Value
          Status Open [ 1 ] Confirmed [ 10037 ]
          Damien Pobel (Inactive) made changes -
          Status Confirmed [ 10037 ] InputQ [ 10001 ]
          Damien Pobel (Inactive) made changes -
          Assignee Yannick Roger [ yannick.roger@ez.no ]
          Damien Pobel (Inactive) made changes -
          Link This issue discovered while testing EZP-25033 [ EZP-25033 ]
          Yannick Roger (Inactive) made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Damien Pobel (Inactive) made changes -
          Assignee Yannick Roger [ yannick.roger@ez.no ] Stéphane Diot [ stephane.diot@ez.no ]
          Damien Pobel (Inactive) made changes -
          Status Development [ 3 ] Backlog [ 10000 ]
          Damien Pobel (Inactive) made changes -
          Status Backlog [ 10000 ] InputQ [ 10001 ]
          Stéphane Diot made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Stéphane Diot made changes -
          Status Development [ 3 ] Development Review [ 10006 ]
          Stéphane Diot made changes -
          Status Development Review [ 10006 ] Documentation Review done [ 10011 ]
          Affects Version/s 2015.11.2 [ 14499 ]
          Fix Version/s 2015.12 [ 14489 ]
          Assignee Stéphane Diot [ stephane.diot@ez.no ]
          Rui Silva (Inactive) made changes -
          Status Documentation Review done [ 10011 ] QA [ 10008 ]
          Rui Silva (Inactive) made changes -
          Assignee Rui Silva [ rui.silva@ez.no ]
          Status QA [ 10008 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Alex Schuster made changes -
          Workflow EZ* Development Workflow [ 96830 ] EZEE Development Workflow [ 125341 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Mateusz Hyndle (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: