Summary: | Copyright year to Holds to pull report | ||
---|---|---|---|
Product: | Koha | Reporter: | Minna Kivinen <minna.kivinen> |
Component: | Circulation | Assignee: | Peter Vashchuk <stalkernoid> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | gmcharlt, kyle.m.hall, lucas, nugged, slavashishkin, stalkernoid |
Version: | 20.05 | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Small patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
20.11.00
|
|
Circulation function: | |||
Attachments: |
Bug 25798: Add copyright year to "Holds to pull" report
Bug 25798: Add copyright year to "Holds to pull" report Bug 25798: Add copyright year to "Holds to pull" report Bug 25798: Add copyright year to "Holds to pull" report |
Description
Minna Kivinen
2020-06-18 07:33:34 UTC
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 |