Bug 33329: Correctly handle UNIMARC encoding for biblios
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 14 Apr 2023 20:21:15 +0000 (17:21 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 12 May 2023 14:35:38 +0000 (15:35 +0100)
commit158a52b16b6057ce3a8c65e24bdf2c8858354aba
tree3954c51bf5426460e099138c8cb7bdc13472c3d6
parent34e9fa6e59d1ff93e6a61d16af65c918714f4dbd
Bug 33329: Correctly handle UNIMARC encoding for biblios

This patch introduces the same treatment we had for bug 32336, this time
for Koha::Objects::Record::Collections.

To test:
1. Apply the regression tests patch
2. Run:
   $ ktd --shell
  k$ prove t/db_dependent/api/v1/biblios.t
=> FAIL: Tests fail! Encoding is wrong for UNIMARC!
3. Apply this patch
4. Repeat 2
=> SUCCESS: Tests pass!
5. Sign off :-D

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 5121f774604a533560c9a8e08ed357e30a5d1ddd)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Objects/Record/Collections.pm