[Koha-bugs] [Bug 29186] Move reports result limit menu into toolbar

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 21 18:50:09 CEST 2021


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

Owen Leonard <oleonard at myacpl.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #126044|0                           |1
        is obsolete|                            |

--- Comment #7 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 126672
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=126672&action=edit
Bug 29186: (QA follow-up) Correct the check for showing limit menu

The template conditional for showing the limit menu should be changed
to:

[% IF ( unlimited_total > 10 && limit <= 1000 ) %]

- "unlimited_total > 10" so that the "rows per page" button only shows
  if there are more than 10 total results, because 10 is the smallest
  increment the "rows per page" control offers.
- "limit <= 1000" so that the "rows per page" button will show when the
  current result limit is less than or equal to 1000, because 1000 is
  the upper limit to the "rows per page" control.

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


More information about the Koha-bugs mailing list