]> git.koha-community.org Git - koha.git/commit
Bug 21708: Sort MARC fields in TransformHtmlToMarc
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tue, 10 Mar 2020 15:11:07 +0000 (15:11 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 24 Mar 2020 08:04:42 +0000 (08:04 +0000)
commit3702194574cc2bdc291a05ca2d17b63e191ee6b3
treeb67c9e956d87e39b77692f178594134f5e220a96
parentb6891f1d1b2a00db25067df9212b4b5677255572
Bug 21708: Sort MARC fields in TransformHtmlToMarc

Instead of pushing 999 in the front :)

Test plan:
Do not yet apply this patch.
Edit a record. Save. And open MARC view/view plain on opac-detail.
Verify that the biblionumber field (MARC21 999) follows leader.
Apply this patch. Restart Plack.
Edit a record. Save. And open MARC view/view plain on opac-detail.
Verify that the biblionumber field is in right position.
Run t/db_dependent/Biblio/TransformHtmlToMarc.t. Should pass now.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Biblio.pm