Bug 28847: Remove dead code and make regex consistent
authorNick Clemens <nick@bywatersolutions.com>
Mon, 13 Sep 2021 11:53:39 +0000 (11:53 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 20 Sep 2021 12:04:48 +0000 (14:04 +0200)
commit87de9fbb8aa8aa4940cad8b2e6eb9a62bb9a401f
treec45b889ad0930c04e36f7fa376908939f56e0115
parentc4955c69243cf2aeca7293d2a50ce94c9f9337cd
Bug 28847: Remove dead code and make regex consistent

This updates the regex code to match throughout the routine and removes
code that would no longer be reached.

Note that the code to update library name in the query descruiption was
broken before this patch, so removal does not change behaviour

Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Search.pm