]> git.koha-community.org Git - koha.git/commit
Bug 33100: Remove all punctuation at end of record
authorNick Clemens <nick@bywatersolutions.com>
Tue, 7 Mar 2023 20:05:36 +0000 (20:05 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 21 Apr 2023 16:53:01 +0000 (16:53 +0000)
commit37f4355e432dea8e9a88f221388324a2fa48f754
tree0ba1fbaeb1ad77b0504aea49d302e69e5e511e54
parent8d08cd6122bc48a460123c445e8efcda6761cb00
Bug 33100: Remove all punctuation at end of record

This could potentially be overkill - if you have two records that only
differ in ending punctuation, you might get a false result - I don't
know how likely that is ( as I have mentioned before '!!!' is a band )

This seems a reasonable fix

To test:
1 - Set sysprefs as in bug 33159
2 - Edit a record, biblionumebr 3 is fine
3 - Add a comma to end of author subfield a
4 - Save and note relinked
5 - Apply patch, restart all
6 - Save again
7 - Linked to original record

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 928a4cb465d7891157b1b061d144db6a808ada14)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
(cherry picked from commit c2f2c68a07a21f6fefd3be4682f9acd5405b5f5b)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
C4/Heading/MARC21.pm