From 41383fb89846d301cdbeb37bfb67278d90ab07be Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Fri, 2 Sep 2011 16:30:18 +0200 Subject: [PATCH] Bug 6838: Add pagination and filtering on subscriptions table Use dataTables plugin --- C4/Serials.pm | 6 ++- .../prog/en/modules/serials/serials-home.tt | 37 ++++++++++++++------ 2 files changed, 30 insertions(+), 13 deletions(-) diff --git a/C4/Serials.pm b/C4/Serials.pm index 8aa6ebc..51da389 100644 --- a/C4/Serials.pm +++ b/C4/Serials.pm @@ -613,8 +613,10 @@ sub GetSubscriptions { while ( my $line = $sth->fetchrow_hashref ) { if ( $previousbiblio eq $line->{biblionumber} ) { - $line->{title} = ""; - $line->{issn} = ""; + # Disabled for sorting and filtering on issn and title + # to work on serials-home.pl + #$line->{title} = ""; + #$line->{issn} = ""; } else { $previousbiblio = $line->{biblionumber}; $odd = -$odd; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tt index 7753fd3..6fbf31f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tt @@ -1,18 +1,21 @@ [% INCLUDE 'doc-head-open.inc' %] Koha › Serials [% biblionumber %] + [% INCLUDE 'doc-head-close.inc' %] - + + @@ -73,7 +76,7 @@ Serials updated : [% IF ( done_searched ) %]

Serials subscriptions

- +
@@ -85,9 +88,21 @@ Serials updated : [% IF ( routing ) %] [% END %] - + + + + + + + + + + + + + [% FOREACH subscription IN subscriptions %] [% UNLESS ( loop.odd ) %] -- 1.7.5.4
ISSNRouting list