]> git.koha-community.org Git - koha.git/commit
Bug 21978: Use patron-title for holdfor handling in results
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 3 May 2022 10:07:00 +0000 (11:07 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 24 Jun 2022 15:29:07 +0000 (12:29 -0300)
commit9a40eb5820983fa99f693a13857b9a9ef1bb25fc
tree05586d8632c0de2a62aee2d4d9fe76a8b0df7ee4
parenta14dfafa2e15ee91896f60b28446bdf0016e5bfc
Bug 21978: Use patron-title for holdfor handling in results

This patch update the catalogue search results page to use the
patron-title include to display patron titles for the 'Holds for' line
in results and dropdown list.

Test plan
1) Load patron account
2) Press search to hold
3) Perform a search which brings back 2+ items (e.g. 'street')
4) Note that on the search results it says:  Place hold for 'firstname
   (othername) surname (cardnumber)'
5) Press the Place hold button and note that the dropdown includes
   "Place hold for 'firstname (othername) surname'" and "Forget
   'firstname (othername) surname'"
6) Click through to an item from the results, press the 'Place hold'
   button and note the dropdown includes "Place hold for 'firstname
   (othername) surname'"

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
catalogue/ISBDdetail.pl
catalogue/MARCdetail.pl
catalogue/detail.pl
catalogue/imageviewer.pl
catalogue/labeledMARCdetail.pl
catalogue/moredetail.pl
catalogue/search.pl
koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt
koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt