Bug 33749: Use TrimFields instead of stripWhitespaceChars
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 7 Jun 2023 20:31:37 +0000 (17:31 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 3 Nov 2023 15:08:06 +0000 (12:08 -0300)
commitb6d39225bccafbdf58b5481e1ab059368f99db79
treeb114a69e3fa13922912d0a9c06b7b844fa275882
parent54477ecc51e4504fa66d0f0cc6da50029225131a
Bug 33749: Use TrimFields instead of stripWhitespaceChars

This patch replaces the uses of the static method with the new filter.
It also moves the tests to the relevant place and removes the (now)
unused method.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/AuthoritiesMarc.pm
C4/Biblio.pm
Koha/MetadataRecord.pm
t/Koha_MetadataRecord.t
t/RecordProcessor.t