]> git.koha-community.org Git - koha.git/commit
Bug 20241: Fix display of publication year in subscription record search for MARC21
authorKatrin Fischer <katrin.fischer.83@web.de>
Sat, 11 Aug 2018 23:55:35 +0000 (23:55 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 10 Oct 2018 10:07:06 +0000 (12:07 +0200)
commitbde08fa3661b895fc7881bd1523c36761c4667d9
tree1d53783eec984e81537a49104519eefb320fba37
parent2905a9e16850a089339943a65fcfadadceabe0f0
Bug 20241: Fix display of publication year in subscription record search for MARC21

The old problem: UNIMARC uses biblio.publicationyear, MARC21 uses
biblio.copyrightdate. Patch adds a fallback, if there is nothing
in publicationyear, copyrightdate will be displayed.

To test:
  - In a MARC21 database
  - Add a new subscription
  - Search for records
  - Verify the publication year column remains empty
  - Apply patch
  - Repeat search
  - Verify that the year now shows

https://bugs.koha-community.org/show_bug.cgi?id=20421

Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 8df47bdde678773f028f312b4cd8000a12425281)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 419f889bb0e0220d81b9883d27aeea128a5b8888)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
serials/subscription-bib-search.pl