Holds to pull -report should show copyright year (publication year) information of a book. Copyright year can be fetched from biblio -table, there is no need to get it from metadata -table. Copyright year can be printed with title -information. (Earlier it was possible to use Marc to keyword -feature, but there is not that anymore available). In scientific libraries it is very essential to know which edition is needed.
Created attachment 106167 [details] [review] Bug 25798: Add copyright year to "Holds to pull" report Display copyright year (publication year) of book together with title in "Holds to pull" report. Copyright year is fetched from biblio -table as "copyrightyear". 1. Place a hold on book with known copyright year. 2. Go to /cgi-bin/koha/circ/pendingreserves.pl and check the "title" table of that book that you placed hold on. 3. Observe that there's no information about publication year in that field. 4. Apply patch. 5. Repeat step 2. 6. Observe that copyright year (publication year) of book appeared in the title table after book's title and author. Mentored-by: Andrew Nugged <nugged@gmail.com>
Hi Peter, there is a catch here: MARC21 maps to copyrightdate by default UNIMARC maps to publicationyear by default We catch this in a lot of places to make the year appear for both. Could you please add a fallback to catch and display whatever is used? There should be quite a few examples in codebase. Thank you!
Created attachment 106354 [details] [review] Bug 25798: Add copyright year to "Holds to pull" report Display copyright year (publication year) of book together with title in "Holds to pull" report. Copyright year is fetched from biblio -table as "copyrightyear" and displayed when the preferred marc is set to MARC21. Publication year is fetched from biblioitems -table as "publicationyear" and displayed when the preferred marc is set to UNIMARC. 1. Place a hold on book with known copyright year. 2. Go to /cgi-bin/koha/circ/pendingreserves.pl and check the "title" table of that book that you placed hold on. 3. Observe that there's no information about publication year in that field. 4. Apply patch. 5. Repeat step 2. 6. Observe that copyright year (publication year) of book appeared in the title table after book's title and author. Mentored-by: Andrew Nugged <nugged@gmail.com>
Created attachment 106633 [details] [review] Bug 25798: Add copyright year to "Holds to pull" report Display copyright year (publication year) of book together with title in "Holds to pull" report. Copyright year is fetched from biblio -table as "copyrightyear" and displayed when the preferred marc is set to MARC21. Publication year is fetched from biblioitems -table as "publicationyear" and displayed when the preferred marc is set to UNIMARC. 1. Place a hold on book with known copyright year. 2. Go to /cgi-bin/koha/circ/pendingreserves.pl and check the "title" table of that book that you placed hold on. 3. Observe that there's no information about publication year in that field. 4. Apply patch. 5. Repeat step 2. 6. Observe that copyright year (publication year) of book appeared in the title table after book's title and author. Mentored-by: Andrew Nugged <nugged@gmail.com> Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Created attachment 107069 [details] [review] Bug 25798: Add copyright year to "Holds to pull" report Display copyright year (publication year) of book together with title in "Holds to pull" report. Copyright year is fetched from biblio -table as "copyrightyear" and displayed when the preferred marc is set to MARC21. Publication year is fetched from biblioitems -table as "publicationyear" and displayed when the preferred marc is set to UNIMARC. 1. Place a hold on book with known copyright year. 2. Go to /cgi-bin/koha/circ/pendingreserves.pl and check the "title" table of that book that you placed hold on. 3. Observe that there's no information about publication year in that field. 4. Apply patch. 5. Repeat step 2. 6. Observe that copyright year (publication year) of book appeared in the title table after book's title and author. Mentored-by: Andrew Nugged <nugged@gmail.com> Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Pushed to master for 20.11, thanks to everybody involved!
enhancement will not be backported to 20.05.x series