Bugzilla – Attachment 92164 Details for
Bug 7074
Show subtitle, part and number of a record in list of checkins
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7074: Show subtitle, part and number of a record in list of checkins
Bug-7074-Show-subtitle-part-and-number-of-a-record.patch (text/plain), 2.62 KB, created by
Katrin Fischer
on 2019-08-12 22:03:40 UTC
(
hide
)
Description:
Bug 7074: Show subtitle, part and number of a record in list of checkins
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2019-08-12 22:03:40 UTC
Size:
2.62 KB
patch
obsolete
>From 2dff1e1cf4ea56595edb7a3f9d729aceb4017cd0 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Fri, 9 Aug 2019 14:42:38 +0000 >Subject: [PATCH] Bug 7074: Show subtitle, part and number of a record in list > of checkins > >Shows the subtitle, part and number information from the biblio tables >as part of the title in the list of checkins (for MARC21: 245$b$n$p). > >To test: >- Apply patch >- Catalog a record with 245$a$b$n$p filled out >- Check the item out to any patron >- Verify that in the list of checkouts the information shows >- Check out any other items with different 245 >- Verify information is correct >- In a new tab, return the items >- Verify that in the list of checkins the information now > matches the checkouts list >--- > circ/returns.pl | 3 +++ > koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 2 +- > 2 files changed, 4 insertions(+), 1 deletion(-) > >diff --git a/circ/returns.pl b/circ/returns.pl >index 657229a10e..42226b4bcc 100755 >--- a/circ/returns.pl >+++ b/circ/returns.pl >@@ -591,6 +591,9 @@ foreach ( sort { $a <=> $b } keys %returneditems ) { > # FIXME pass $item to the template and we are done here... > $ri{itembiblionumber} = $biblio->biblionumber; > $ri{itemtitle} = $biblio->title; >+ $ri{subtitle} = $biblio->subtitle; >+ $ri{part_name} = $biblio->part_name; >+ $ri{part_number} = $biblio->part_number; > $ri{itemauthor} = $biblio->author; > $ri{itemcallnumber} = $item->itemcallnumber; > $ri{dateaccessioned} = $item->dateaccessioned; >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >index f93129d147..860a542c37 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >@@ -861,7 +861,7 @@ > </td> > <td class="ci-title"> > <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% riloo.itembiblionumber | uri %]"> >- [% riloo.itemtitle | html %] >+ [% riloo.itemtitle | html %] [% FOREACH subt IN riloo.subtitle %] [% subt | html %] [% riloo.part_number | html %] [% riloo.part_name | html %][% END %] > </a> > [% IF ( riloo.enumchron ) %] > <br/> >-- >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 7074
:
92134
|
92164
|
92177
|
93263
|
93264