]> git.koha-community.org Git - koha.git/commit
Bug 33819: Add page numbers to opac results breadcrumb
authorMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Wed, 24 May 2023 14:57:20 +0000 (14:57 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 9 Oct 2023 14:41:22 +0000 (11:41 -0300)
commit1a0ccaa991c426219a8a304d43c1039286a7de58
treea04b005504e3d997e02003315a30dc2f902213ea
parentdbd85697ac07f02ef7367bfdbf26cef14ec2142b
Bug 33819: Add page numbers to opac results breadcrumb

This patch adds the page number to the breadcrumb in the opac search results to ensure that it is unique to the content on the page. Currently it is not compliant to Accessibility guidelines as the breadcrumb is identical on every page despite the content being different.

To test:
1) Apply patch
2) Run a search in the OPAC that will return more than 20 results.
3) The breadcrumb should say "Results of search for 'search term', page x of y"
4) Run a search that will return less than 20 results
5) The breadcrumb should say "Results of search for 'search term'

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt
opac/opac-search.pl