Bugzilla – Attachment 25553 Details for
Bug 11822
Show claimed serials on the OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Show "Claimed" serials on the OPAC.
0001-Show-Claimed-serials-on-the-OPAC.patch (text/plain), 1.70 KB, created by
Frédérick Capovilla
on 2014-02-21 21:36:21 UTC
(
hide
)
Description:
Show "Claimed" serials on the OPAC.
Filename:
MIME Type:
Creator:
Frédérick Capovilla
Created:
2014-02-21 21:36:21 UTC
Size:
1.70 KB
patch
obsolete
>From f09ec6226860d67ffbec39d730b56a0b0ef83abf Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Fr=C3=A9d=C3=A9rick?= <frederick.capovilla@libeo.com> >Date: Fri, 21 Feb 2014 16:25:20 -0500 >Subject: [PATCH] Show "Claimed" serials on the OPAC. > >--- > C4/Serials.pm | 2 +- > koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt | 3 +++ > 2 files changed, 4 insertions(+), 1 deletions(-) > >diff --git a/C4/Serials.pm b/C4/Serials.pm >index 6d188e7..ae23557 100644 >--- a/C4/Serials.pm >+++ b/C4/Serials.pm >@@ -853,7 +853,7 @@ sub GetLatestSerials { > my $strsth = "SELECT serialid,serialseq, status, planneddate, publisheddate, notes > FROM serial > WHERE subscriptionid = ? >- AND (status =2 or status=4) >+ AND (status =2 or status=4 or status=7) > ORDER BY publisheddate DESC LIMIT 0,$limit > "; > my $sth = $dbh->prepare($strsth); >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt >index 05c4010..86ecfd3 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt >@@ -1222,6 +1222,9 @@ YAHOO.util.Event.onContentReady("furtherm", function () { > [% IF ( latestserial.status4 ) %]Missing > [% ELSE %] > [% IF ( latestserial.status5 ) %]Not issued >+ [% ELSE %] >+ [% IF ( latestserial.status7 ) %]Claimed >+ [% END %] > [% END %] > [% END %] > [% END %] >-- >1.7.2.5 >
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 11822
: 25553