]> git.koha-community.org Git - koha.git/commit
Bug 33406: Filter out some known isolated trouble makers
authorJanusz Kaczmarek <januszop@gmail.com>
Tue, 8 Aug 2023 08:41:53 +0000 (08:41 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 15 Sep 2023 18:50:43 +0000 (15:50 -0300)
commit27c6171222bf3abb5ed91e399bb2663579e8e367
tree2964cc38e1cdae031962fba7350d45557674454d
parent09b29d06da5fac2bd1315d849f1b9bf924576700
Bug 33406: Filter out some known isolated trouble makers

Test plan:
1) Launch k-t-d with ES:
-- ktd --es7 pull
-- ktd --es7 up
2) Visit /cgi-bin/koha/authorities/authorities-home.pl and search for 'tim'
3) Edit that, add a dash '-' to 100$a, like 'Bunce, Tim - name'"
4) Do a authority search for 'tim - name', notice it errors out
5) Apply patch
6) Perform the same search, notice it doesn't error and returns the correct record

Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/SearchEngine/Elasticsearch/QueryBuilder.pm