]> git.koha-community.org Git - koha.git/commit
Bug 35570: (QA follow-up): Update UNIMARC author to 200$f
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Wed, 16 Oct 2024 10:45:51 +0000 (10:45 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Thu, 31 Oct 2024 07:05:29 +0000 (08:05 +0100)
commit24b5afb6d6ea415ba9c8ce7fa80f322e84d65cab
treecb2b8169e91b3903b3116d1113e04e31b4fa25db
parent9e65f89443219b283d505f33bc84d7347b03f66a
Bug 35570: (QA follow-up): Update UNIMARC author to 200$f

Reworked the logic here a bit to ensure the following scenario for UNIMARC:
If both title and author exist, the result is:
200$aTitle$fAuthor

In the previous logic, it would become:
200$aTitle
200$fAuthor

I'm assuming the desired result is the former and not the latter.
Test following the same test plan, but try having only author, or only title, and verify that the resulted MARC data is as expected.

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Koha/ILL/Backend/Standard.pm