Bugzilla – Attachment 117468 Details for
Bug 27803
publicationyear / copyrightdate not included in Holds to Pull
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27803: Ensure publicationyear or copyrightdate shows in Holds to Pull
Bug-27803-Ensure-publicationyear-or-copyrightdate-.patch (text/plain), 2.81 KB, created by
Aleisha Amohia
on 2021-03-02 01:46:58 UTC
(
hide
)
Description:
Bug 27803: Ensure publicationyear or copyrightdate shows in Holds to Pull
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2021-03-02 01:46:58 UTC
Size:
2.81 KB
patch
obsolete
>From f8796c51b8e95c68017a24a8b828a6f0b9e18ac9 Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Tue, 2 Mar 2021 14:40:49 +1300 >Subject: [PATCH] Bug 27803: Ensure publicationyear or copyrightdate shows in > Holds to Pull > >If marcflavour is set to MARC21, use biblio.copyrightdate. If >marcflavour is set to something other than MARC21, use >biblioitem.publicationyear. This is to match previous behaviour of this >feature. > >To test: >1) Set your marcflavour system preferenece to MARC21. >2) Go to Administration -> Koha to MARC mapping to confirm what MARC tag >maps to biblio.copyrightdate. >3) In your terminal, run misc/batchRebuildBiblioTables.pl from the shell >to confirm the mapping is locked. >4) Edit a biblio, fill in whichever field is mapped to biblio.copyrightdate >and Save. >5) Place a hold on this biblio. (It must have an available item to allow >placing holds.) >6) Go to Circulation -> Holds to Pull. >7) Confirm your hold shows in the table with the copyrightdate. >8) Set your marcflavour system preference to something other thatn >MARC21. >9) Go to Administration -> Koha to MARC mapping to confirm what MARC tag >maps to biblioitem.publicationyear. >10) In your terminal, run misc/batchRebuildBiblioTables.pl from the shell >to confirm the mapping is locked. >11) Edit a biblio, fill in whichever field is mapped to biblioitem.publicationyear >and Save. >12) Place a hold on this biblio. (It must have an available item to allow >placing holds.) >13) Go to Circulation -> Holds to Pull. >14) Confirm your hold shows in the table with the publicationyear. > >Sponsored-by: Catalyst IT >--- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt >index 5909cfdbac..a06981896d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt >@@ -85,7 +85,11 @@ > </p> > [% IF ( biblio.author ) %]<p> by [% biblio.author | html %]</p>[% END %] > [% IF ( biblio.biblioitem.editionstatement ) %]<p>[% biblio.biblioitem.editionstatement | html %]</p>[% END %] >- [% IF ( biblio.biblioitem.publicationyear ) %]<p>[% biblio.biblioitem.publicationyear | html %]</p>[% END %] >+ [% IF ( Koha.Preference('marcflavour') == 'MARC21' ) %] >+ [% IF ( biblio.copyrightdate ) %]<p>[% biblio.copyrightdate | html %]</p>[% END %] >+ [% ELSE %] >+ [% IF ( biblio.biblioitem.publicationyear ) %]<p>[% biblio.biblioitem.publicationyear | html %]</p>[% END %] >+ [% END %] > </td> > [% ELSE %] > <td>"</td> >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 27803
:
117468
|
117473
|
117475