Bugzilla – Attachment 18418 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]
adding date published to catalogue detail page
0001-bug-10356-adding-date-published-to-catalogue-detail-.patch (text/plain), 2.44 KB, created by
Chris Hall
on 2013-05-27 23:10:31 UTC
(
hide
)
Description:
adding date published to catalogue detail page
Filename:
MIME Type:
Creator:
Chris Hall
Created:
2013-05-27 23:10:31 UTC
Size:
2.44 KB
patch
obsolete
>From 96ac30896b6c7455197d54da04a0fe5194a008ad 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 > >--- > 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 d4b5272..1837fa7 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