Bugzilla – Attachment 19008 Details for
Bug 10356
adding date published to catalogue detail page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bug 10356 adding date published to catalogue detail page, renaming date to date arrived
bug-10356-adding-date-published-to-catalogue-detai.patch (text/plain), 2.60 KB, created by
Jonathan Druart
on 2013-06-14 13:12:46 UTC
(
hide
)
Description:
bug 10356 adding date published to catalogue detail page, renaming date to date arrived
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2013-06-14 13:12:46 UTC
Size:
2.60 KB
patch
obsolete
>From 7443c21e2768f0ea310cbc84588ce19e1d636ce9 Mon Sep 17 00:00:00 2001 >From: Chris Hall <chrish@catalyst.net.nz> >Date: Fri, 22 Mar 2013 15:33:50 +1300 >Subject: [PATCH] bug 10356 adding date published to catalogue detail page, > renaming date to date arrived > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >Amended patch: Fix wrong capitalization on th >--- > C4/Serials.pm | 3 ++- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 4 +++- > 2 files changed, 5 insertions(+), 2 deletions(-) > >diff --git a/C4/Serials.pm b/C4/Serials.pm >index 76d3fc7..4589a70 100644 >--- a/C4/Serials.pm >+++ b/C4/Serials.pm >@@ -841,7 +841,7 @@ sub GetLatestSerials { > my $dbh = C4::Context->dbh; > > # status = 2 is "arrived" >- my $strsth = "SELECT serialid,serialseq, status, planneddate, notes >+ my $strsth = "SELECT serialid,serialseq, status, planneddate, publisheddate, notes > FROM serial > WHERE subscriptionid = ? > AND (status =2 or status=4) >@@ -853,6 +853,7 @@ sub GetLatestSerials { > while ( my $line = $sth->fetchrow_hashref ) { > $line->{ "status" . $line->{status} } = 1; # fills a "statusX" value, used for template status select list > $line->{"planneddate"} = format_date( $line->{"planneddate"} ); >+ $line->{"publisheddate"} = format_date( $line->{"publisheddate"} ); > push @serials, $line; > } > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >index 9ebb4cb..b3a4240 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -631,7 +631,8 @@ function verify_images() { > <table> > <tr> > <th>Issue #</th> >- <th>Date</th> >+ <th>Date arrived</th> >+ <th>Date published</th> > <th>Status</th> > <th>Note</th> > </tr> >@@ -639,6 +640,7 @@ function verify_images() { > <tr> > <td>[% latestserial.serialseq %]</td> > <td>[% latestserial.planneddate %]</td> >+ <td>[% latestserial.publisheddate%]</td> > <td> > [% IF ( latestserial.status1 ) %]Expected[% END %] > [% IF ( latestserial.status2 ) %]Arrived[% END %] >-- >1.7.10.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 10356
:
18418
|
18995
| 19008