]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 18 Jan 2023 15:57:24 +0000 (15:57 +0000)
commit2e51b7e5d9876834e6fbea27d766404148b519e4
tree2182b0105105c00ebd241cfcac97485b49594770
parente6804714140b920b1400d4a985724b6fe99f8132
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>
koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc