]> git.koha-community.org Git - koha.git/commit
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)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Wed, 22 Dec 2021 19:21:55 +0000 (20:21 +0100)
commit2c4a38dab509070405158e915f23926cb40824ef
tree0d10bc8008fcafa7e7c08c14b6f5f97f69b7ad26
parent350e60c99e677df1388e957c61ebb4c9155c6e22
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>
(cherry picked from commit 7c74eb91248cbdc383e5b3d0d1c48c4ae5d570a3)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Koha/SearchEngine/Elasticsearch/QueryBuilder.pm