Bugzilla – Attachment 55807 Details for
Bug 14668
Show serial enumeration in the patron's opac checkout summary
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 14668: Show serial enumeration in INTRANET circulation.tt and OPAC patron's relatives' checkouts
PASSED-QA-Bug-14668-Show-serial-enumeration-in-INT.patch (text/plain), 4.65 KB, created by
Katrin Fischer
on 2016-09-25 17:10:39 UTC
(
hide
)
Description:
[PASSED QA] Bug 14668: Show serial enumeration in INTRANET circulation.tt and OPAC patron's relatives' checkouts
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2016-09-25 17:10:39 UTC
Size:
4.65 KB
patch
obsolete
>From 1a5d7da647cac9108b4a6bc32a3c184ef453789e Mon Sep 17 00:00:00 2001 >From: Charles Farmer <charles.farmer@inlibro.com> >Date: Fri, 15 Jul 2016 14:18:29 -0400 >Subject: [PATCH] [PASSED QA] Bug 14668: Show serial enumeration in INTRANET > circulation.tt and OPAC patron's relatives' checkouts > >TEST PLAN > >1. THE CHECKOUT TAB, INTRANET > 1.1. Add a value to the 'h' subfield of an item. ie: 'volume #42' > 1.2. Check out the item to a patron > 1.3. Display this patron's issues in his checkout page > 1.3.1. The enumchron should be concatenated with the title > >2. A PATRON'S RELATIVE, INTRANET + OPAC > 1.1. Add somebody to a patron's guarantee list > 1.2. Checkout a serial to this guarantee > 1.3. Visit the guarantor's OPAC and INTRANET checkout page > 1.3.1. You should see the enumchron in his guarantee's issues > >Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com> > >Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> >--- > koha-tmpl/intranet-tmpl/prog/js/checkouts.js | 8 ++++++++ > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 3 ++- > svc/checkouts | 2 ++ > 3 files changed, 12 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >index bf419d7..cca2a28 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >@@ -227,6 +227,10 @@ $(document).ready(function() { > title += " " + value.subfield; > }); > >+ if ( oObj.enumchron ) { >+ title += ' ' + oObj.enumchron; >+ } >+ > title += "</a></span>"; > > if ( oObj.author ) { >@@ -499,6 +503,10 @@ $(document).ready(function() { > title += " " + value.subfield; > }); > >+ if ( oObj.enumchron ) { >+ title += ' ' + oObj.enumchron; >+ } >+ > title += "</a></span>"; > > if ( oObj.author ) { >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >index 9aa4cc3..4e27643 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >@@ -221,6 +221,7 @@ Using this account is not recommended because some parts of Koha will not functi > > <td class="title"> > <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ISSUE.biblionumber %]">[% ISSUE.title |html %] [% FOREACH subtitl IN ISSUE.subtitle %] [% subtitl.subfield %][% END %]</a> >+ [% IF ( ISSUE.enumchron ) %] [% ISSUE.enumchron %][% END %] > <span class="item-details">[% ISSUE.author %]</span> > </td> > [% IF ( ISSUE.overdue ) %] >@@ -382,7 +383,7 @@ Using this account is not recommended because some parts of Koha will not functi > <tr> > <td> > <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% i.item.biblio.biblionumber %]"> >- [% i.item.biblio.title %] >+ [% i.item.biblio.title %][% IF ( i.item.enumchron ) %] [% i.item.enumchron %][% END %] > </a> > </td> > >diff --git a/svc/checkouts b/svc/checkouts >index e613126..f1e3ffa 100755 >--- a/svc/checkouts >+++ b/svc/checkouts >@@ -97,6 +97,7 @@ my $sql = ' > itemlost, > damaged, > location, >+ items.enumchron, > > DATEDIFF( issuedate, CURRENT_DATE() ) AS not_issued_today > FROM issues >@@ -173,6 +174,7 @@ while ( my $c = $sth->fetchrow_hashref() ) { > date_due_overdue => $c->{date_due_overdue} ? JSON::true : JSON::false, > timestamp => $c->{timestamp}, > onsite_checkout => $c->{onsite_checkout}, >+ enumchron => $c->{enumchron}, > renewals_count => $renewals_count, > renewals_allowed => $renewals_allowed, > renewals_remaining => $renewals_remaining, >-- >2.7.4
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 14668
:
45294
|
49690
|
49691
|
49711
|
53448
|
55756
|
55757
|
55758
|
55759
|
55806
| 55807 |
55808