]> git.koha-community.org Git - koha.git/commit
Bug 29186: Move reports result limit menu into toolbar
authorOwen Leonard <oleonard@myacpl.org>
Thu, 17 Sep 2020 19:18:53 +0000 (19:18 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 25 Oct 2021 12:08:06 +0000 (14:08 +0200)
commit5fee6f18a48e3a6214f6095f52feb87ab222bfaf
treea605372344abff0a388cd2108921e3e1892596a7
parente6f852be57b9a3ac77068259b4f534f2bb5e5586
Bug 29186: Move reports result limit menu into toolbar

This patch creates a new Bootstrap button menu for selecting the number
of search results to be shown. This replaces the HTML <select>.

To test, apply the patch and go to Reports -> Saved reports.

- Test the appearance and functionality of the "Rows per page" button in
  various situations:
  - A report that returns more than 10 results
  - A report that returns fewer than 10 results
  - A report that returns no results
- Test that the batch operations button menu appears correctly when
  there are biblionumbers, itemnumbers, or cardnumbers in the results.
- When there are no results, or fewer than 10 results with no batch
  operations possible the toolbar shouldn't appear at all.

Signed-off-by: George Williams <george@nekls.org>
Signed-off-by: George Williams <george@nekls.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt