Bug 29284: Handle the case of an exclamation point in parentheses
authorNick Clemens <nick@bywatersolutions.com>
Wed, 20 Oct 2021 12:49:42 +0000 (12:49 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 29 Oct 2021 13:37:39 +0000 (09:37 -0400)
commit7c74eb91248cbdc383e5b3d0d1c48c4ae5d570a3
treeaf1ec2d377fc50948f70aae081f770912fc22905
parentab13f33eaee2599beb376366524d92afa79df034
Bug 29284: Handle the case of an exclamation point in parentheses

This expands the regex to handle this specific case

To test:
1 - Load record created for last patch
2 - Note analytics error
3 - Apply patch
4 - Restart and reload
5 - No more errorm also no Analytics link
6 - Add a 773$t to a record with title used before:
    Digger does it all (not really!)
7 - reload the initial record
8 - See 'Show analytics' link
9 - Click the link
10 - You should end up on the record you added the 773 to

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Koha/SearchEngine/Elasticsearch/QueryBuilder.pm