diff --git a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js index bf419d7ae7..cca2a28108 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 += ""; if ( oObj.author ) { @@ -499,6 +503,10 @@ $(document).ready(function() { title += " " + value.subfield; }); + if ( oObj.enumchron ) { + title += ' ' + oObj.enumchron; + } + title += ""; 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 9aa4cc3c77..4e276435ab 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 [% ISSUE.title |html %] [% FOREACH subtitl IN ISSUE.subtitle %] [% subtitl.subfield %][% END %] + [% IF ( ISSUE.enumchron ) %] [% ISSUE.enumchron %][% END %] [% ISSUE.author %] [% IF ( ISSUE.overdue ) %] @@ -382,7 +383,7 @@ Using this account is not recommended because some parts of Koha will not functi - [% i.item.biblio.title %] + [% i.item.biblio.title %][% IF ( i.item.enumchron ) %] [% i.item.enumchron %][% END %] diff --git a/svc/checkouts b/svc/checkouts index e613126016..f1e3ffa1c3 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,