Bug 32491: Split patron search terms on comma
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 5 Jan 2023 08:23:45 +0000 (09:23 +0100)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 24 Jan 2023 18:48:13 +0000 (18:48 +0000)
commite97e947efca58b698d2858a24f23b35ff3d50391
tree9b8bf65e0da363029e7e655faac72be66ea7e205
parent0b206ff70962b02748e1456b3eec694f35c14451
Bug 32491: Split patron search terms on comma

Previous behaviour allowed search 'surname, firstname'. We should remove
the comma from the search terms.

Test plan:
On the main patron search, search for "surname, firstname" and confirm
that with this patch applied the search returns the expected results.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit f3333da49675daca9fc9d2147d31a446d20ac8ef)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
(cherry picked from commit dfbc6afe1b18403bf69d05cd154dec616ad96798)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc