]> 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>
Sun, 30 Jan 2022 23:45:57 +0000 (00:45 +0100)
commitff0dce19a0e04338f3df7cd8c75f041bac3ca4f9
treec310037eaa643c0b135fd6e7791c3a056fb3359b
parent6ec5e00e6aef5529850e09cc7a29dce9a0632f01
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