]> git.koha-community.org Git - koha.git/commit
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)
committerJacob O'Mara <jacob.omara@ptfs-europe.com>
Fri, 13 Jan 2023 16:20:45 +0000 (16:20 +0000)
commitdfbc6afe1b18403bf69d05cd154dec616ad96798
treec49807af2fca3b9107d5790fceadc2d6947f4b37
parent2b92f43cc315968da3d17088c183df619f0a33cc
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>
koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc