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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 11 Jan 2023 23:47:55 +0000 (20:47 -0300)
commitf3333da49675daca9fc9d2147d31a446d20ac8ef
tree3c0ab81cfce60b7c06a2a2e9864a1534c13a0168
parentcc58ca2a3cc71d2af6b2342979ec310e89fec3a6
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>
koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc