From 863aee17e8cc9ed90dcc713808ef5a1a0d457db1 Mon Sep 17 00:00:00 2001
From: Owen Leonard
Date: Wed, 20 Mar 2013 14:51:44 -0400
Subject: [PATCH] Bug 9443 [Revised] Use DataTables on MARC frameworks administration
Replace the tablesorter plugin with the DataTables plugin on the
MARC frameworks administration page.
To test, open the MARC frameworks dministration page (Administration ->
MARC bibliographic framework -> MARC structure). Confirm that table
sorting, paging, and searching works correctly.
Revision corrects path to DataTables assets, merges with new
Bootstrap version of the page, and corrects minor markup errors.
Signed-off-by: Frederic Durand
---
.../prog/en/modules/admin/marctagstructure.tt | 34 +++++++++++++-------
1 files changed, 22 insertions(+), 12 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt
index 8886fcf..91e7251 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt
@@ -5,14 +5,11 @@
[% IF ( delete_confirmed ) %]MARC frameworks › Data deleted[% END %]
[% IF ( else ) %]MARC frameworks[% END %]
[% INCLUDE 'doc-head-close.inc' %]
-
-
-
+
+
+[% INCLUDE 'datatables-strings.inc' %]
+
+
@@ -152,11 +161,10 @@ function Check(f) {
[% END %]
-
-[% INCLUDE 'table-pager.inc' perpage='20' %]
-
+
+
Tag
Lib
Repeatable
@@ -165,8 +173,9 @@ function Check(f) {
Subfields
Edit
Delete
+
-
+
[% IF ( select_display ) %]
[% FOREACH loo IN loop %]
[% IF ( loop.odd ) %]