Bug 25024: Make grep match full string
authorNick Clemens <nick@bywatersolutions.com>
Tue, 31 Mar 2020 13:55:21 +0000 (13:55 +0000)
committerJoy Nelson <joy@bywatersolutions.com>
Wed, 29 Apr 2020 19:21:52 +0000 (19:21 +0000)
commit155b47d2fee0440cc743a09d5c6a2152abb97d16
tree9f829008e6d68172d9f78431ece8e31d62d6da32
parent9f89eabcd5befe34d4b3ad75fb8b128f4de131f3
Bug 25024: Make grep match full string

To test:
1 - Create or have a branch with code CPL
2 - Create two new branches 'ACPL' and 'CPLA'
3 - In branch transfer limits disallow some itype or collection from another branch (FPL) to ACPL and CPLA
4 - Set UseBranchTransferLimits to 'Enforce'
5 - Find a biblio with one item belonging to FPL
6 - On opac, attempt to place a hold
7 - Note that ACPL and CPLA don't show in dropdown, OK
8 - Note that CPL is disabled, NOT OK
9 - Apply patch
10 - Place hold
11 - CPL is now enabled

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Joel Sasse <jsasse@plumcreeklibrary.net>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt