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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 5 May 2023 13:18:39 +0000 (10:18 -0300)
commit5121f774604a533560c9a8e08ed357e30a5d1ddd
tree4e43aaa9155042bb50786819e2b36f3556b8901d
parent81fc1ebe71dd22eb9ce434ebc36234fcee26644b
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>
Koha/Objects/Record/Collections.pm