When creating a new subscription and searching for a bibliographic record, the result list will never show the publication year even if one exists. I think this might be because it attempts to show publicationyear (used for UNIMARC installations) instead of copyrightdate which is used for MARC21 installations.
Created attachment 77735 [details] [review] 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
Created attachment 79361 [details] [review] 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>
Created attachment 79510 [details] [review] 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>
Trivial Fix, Passing QA
Awesome work all! Pushed to master for 18.11
Pushed to 18.05.x for 18.05.05
Pushed to 17.11.x for 17.11.11