]> git.koha-community.org Git - koha.git/commit
Bug 32517: lowercase category codes to avoid mismatch
authorNick Clemens <nick@bywatersolutions.com>
Thu, 22 Dec 2022 15:18:20 +0000 (15:18 +0000)
committerJacob O'Mara <jacob.omara@ptfs-europe.com>
Wed, 25 Jan 2023 14:33:47 +0000 (14:33 +0000)
commit64a1642ac731e83efa1776f7f97545d2becde00b
tree9c8562a27f47185dfe1f6dc5ada6590e8ef6880a
parentba23f372db79f1a26ed544eba4d82530dcf846e8
Bug 32517: lowercase category codes to avoid mismatch

To test:
1 - sudo koha-mysql kohadev
2 - UPDATE borrowers SET categorycode = LCASE(categorycode)
3 - Try to search for patrons:
    Uncaught TypeError: categories_map[data] is undefined
4 - Apply patch
5 - Search for patrons
6 - Success!

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 2e51b7e5d9876834e6fbea27d766404148b519e4)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc