From b44a684354aa3622bd765691255c9dcf6feef9ec Mon Sep 17 00:00:00 2001 From: "jerome.gasperi@gmail.com" <> Date: Thu, 8 May 2014 18:42:36 +0200 Subject: [PATCH] Put back pagination in html output --- themes/default/templates/getCollection.php | 15 +++++++++++++-- themes/default/theme.js | 2 +- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/themes/default/templates/getCollection.php b/themes/default/templates/getCollection.php index b2fea4c..99ce3e9 100644 --- a/themes/default/templates/getCollection.php +++ b/themes/default/templates/getCollection.php @@ -85,8 +85,13 @@ --> - - + +
+
+ +
+
+
@@ -94,6 +99,12 @@
+
+
+ +
+
+
diff --git a/themes/default/theme.js b/themes/default/theme.js index f159aaf..6b1dfd7 100644 --- a/themes/default/theme.js +++ b/themes/default/theme.js @@ -90,7 +90,7 @@ pagination += self.translate('_multipleResult', [json.totalResults]); } - pagination += json.startIndex ? ' | ' + first + previous + self.translate('_pagination', [json.startIndex, json.lastIndex]) + next + last : ''; + pagination += json.startIndex ? first + previous + self.translate('_pagination', [json.startIndex, json.lastIndex]) + next + last : ''; }