Bugzilla – Attachment 106614 Details for
Bug 25799
Edition information to Holds queue report
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25799: Add edition information to "Holds queue" report
Bug-25799-Add-edition-information-to-Holds-queue-r.patch (text/plain), 2.73 KB, created by
Katrin Fischer
on 2020-07-06 21:35:37 UTC
(
hide
)
Description:
Bug 25799: Add edition information to "Holds queue" report
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-07-06 21:35:37 UTC
Size:
2.73 KB
patch
obsolete
>From c4fbf8b0d725c5ac6b89af5a53182d1d45fdd0af Mon Sep 17 00:00:00 2001 >From: Petro Vashchuk <stalkernoid@gmail.com> >Date: Mon, 29 Jun 2020 22:04:56 +0300 >Subject: [PATCH] Bug 25799: Add edition information to "Holds queue" report > >Added a feature that displays edition information of the book >together with title in "Holds queue" report. > >Edition information is fetched from "biblioitem" table >as "editionstatement" and transferred to template. > >1. Place a hold on a book with edition information. >2. Run build_holds_queue.pl cron job. >3. Go to /cgi-bin/koha/circ/view_holdsqueue.pl and check the "title" >table of that book that you placed hold on. >4. Observe that there's no information about edition of that book. >5. Apply patch. >6. Repeat step 3. >7. Observe that cinformation about edition of that 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> >--- > C4/HoldsQueue.pm | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt | 1 + > 2 files changed, 2 insertions(+), 1 deletion(-) > >diff --git a/C4/HoldsQueue.pm b/C4/HoldsQueue.pm >index 339156a5eb..5938d35d2a 100755 >--- a/C4/HoldsQueue.pm >+++ b/C4/HoldsQueue.pm >@@ -137,7 +137,7 @@ sub GetHoldsQueueItems { > biblio.copyrightdate, biblio.subtitle, biblio.medium, > biblio.part_number, biblio.part_name, > biblioitems.publicationyear, biblioitems.pages, biblioitems.size, >- biblioitems.isbn, items.copynumber >+ biblioitems.isbn, biblioitems.editionstatement, items.copynumber > FROM tmp_holdsqueue > JOIN biblio USING (biblionumber) > LEFT JOIN biblioitems USING (biblionumber) >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt >index d467a1bf00..a2613456c9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt >@@ -131,6 +131,7 @@ > <p> > <div class="hq-biblionumber content_hidden">[% itemsloo.biblionumber | html %]</div> > <div class="hq-author">[% itemsloo.author | html %]</div> >+ [% IF ( itemsloo.editionstatement ) %]<div class="hq-editionstatement">[% itemsloo.editionstatement | html %]</div>[% END %] > <div class="hq-pubdata"> > [% IF ( itemsloo.publishercode ) %][% itemsloo.publishercode | html %][% END %] > >-- >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 25799
:
106429
|
106454
| 106614