From f6b290211bb8efba786fa52544eab8581890f952 Mon Sep 17 00:00:00 2001 From: Chris Nighswonger Date: Mon, 20 Feb 2012 14:39:09 -0500 Subject: [PATCH] Revert "Bug 6838: Add pagination and filtering on subscriptions table" This reverts commit e13db856d4ceac1bb9b195dd10391cd239c19296. -Part of DataTables Enhancement --- C4/Serials.pm | 2 + .../prog/en/modules/serials/serials-home.tt | 40 +++++++------------ 2 files changed, 16 insertions(+), 26 deletions(-) diff --git a/C4/Serials.pm b/C4/Serials.pm index 77204d6828..060dffc922 100644 --- a/C4/Serials.pm +++ b/C4/Serials.pm @@ -601,6 +601,8 @@ sub GetSubscriptions { $sth = $dbh->prepare($sql); $sth->execute(@bind_params); my @results; + my $previousbiblio = ""; + my $odd = 1; while ( my $line = $sth->fetchrow_hashref ) { $line->{'cannotedit'} = 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 ec1faf31c2..fb310d5279 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,22 +1,18 @@ [% INCLUDE 'doc-head-open.inc' %] Koha › Serials [% biblionumber %] - [% INCLUDE 'doc-head-close.inc' %] - -[% INCLUDE 'datatables-strings.inc' %] - + @@ -89,24 +85,16 @@ Serials updated : [% IF ( routing ) %] Routing list [% END %] -   -   +   - - - - - - - - - - - [% FOREACH subscription IN subscriptions %] + [% UNLESS ( loop.odd ) %] + + [% ELSE %] + [% END %] [% IF ( subscription.issn ) %][% subscription.issn %] [% END %] -- 2.39.5