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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 17 Mar 2023 12:59:07 +0000 (09:59 -0300)
commit928a4cb465d7891157b1b061d144db6a808ada14
tree283a474502ba1e3448b898bed565324dd5638e68
parent749045366310fe4269bb1c39a93adc5eb20a4f22
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>
C4/Heading/MARC21.pm