[Koha-bugs] [Bug 28324] New: Pagination displays weirdly when there are more than 10 pages

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 12 02:02:12 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28324

            Bug ID: 28324
           Summary: Pagination displays weirdly when there are more than
                    10 pages
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Templates
          Assignee: oleonard at myacpl.org
          Reporter: aleisha at catalyst.net.nz
        QA Contact: testopia at bugs.koha-community.org

Created attachment 120854
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120854&action=edit
Pagination not shifting along

I've attached screenshots to display the weird behaviour. The screenshots are
only showing this problem in OPAC search results, but the same thing happens in
the staff client search results, and in the staff client staged marc
management, and probably any tables that use this pagination.

When there is a table that returns more than 10 results, we see pagination with
links to pages 1 to 10. As you click along the page links from 1-9, the
pagination doesn't shift along as you might expect it to. For example, clicking
on page 9, the pagination still only shows pages 1-10, whereas I would expect
it to show pages 5-15 with page 9 in the middle. This is the first problem.

The second problem is when you are viewing page 10, the pagination expands to
show pages 1-21 with page 10 in the middle. When you click page 15, the
pagination would expand to show pages 5-26 for example. So this time, the
pagination is shifting along but it's showing links to 20 pages which is far
too many. I expect it to show only 10 pages always. This is the second problem.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list