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>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
cf90317112
commit
ad0cd505eb
|
|
@ -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 ) {
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue