]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 9 Oct 2023 18:50:38 +0000 (08:50 -1000)
commit5d20395fa6b1008ee5ba73925b7091e8539a6ed2
treed34559fadfbafc81e3b0d32d9251d09a47f16c56
parentd76273053565628db037ced1cad02ff4a1ae52ad
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>
(cherry picked from commit 1a0ccaa991c426219a8a304d43c1039286a7de58)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt
opac/opac-search.pl