]> git.koha-community.org Git - koha.git/commit
Bug 26999: Make 'Any library' translatable when placing a hold
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 15 Mar 2021 11:05:02 +0000 (08:05 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 1 Apr 2021 16:51:37 +0000 (18:51 +0200)
commit13bb39f4c670d72686dd6b76cc0757c2f07b04d5
tree76f7d62961ca09cdea176be9c98eb9c194fd1d4c
parent20d5a458f38ef622920f083cac97ef753cf41d95
Bug 26999: Make 'Any library' translatable when placing a hold

This patch makes the 'Any library' string translatable, by converting it
into a flag and using it accordingly on the request.tt template.

To test:
1. Have the 'Hold pickup library match' set to 'any library' on the
   circultation rules.
2. Open the page to place a hold on a biblio with some items
=> SUCCESS: The item says 'Any library' on the 'Allowed pickup
locations' column.
3. Apply this patch
4. Repeat 2
=> SUCCESS: No behavior change
=> SUCCESS: The string is on the template
5. Sign off :-D

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt
reserve/request.pl