From bb7c99e1904bc2f3ac24955663d48ccb4c827c79 Mon Sep 17 00:00:00 2001 From: Gilles Crettenand Date: Tue, 19 May 2015 16:25:04 +0200 Subject: [PATCH] Old search always start at page 0 --- mobile.netbiblio.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile.netbiblio.php b/mobile.netbiblio.php index c38cffd..2120f1b 100644 --- a/mobile.netbiblio.php +++ b/mobile.netbiblio.php @@ -296,7 +296,7 @@ class NetBiblio extends WebService 'queryText' => $query, 'queryType' => is_numeric($query) && strlen($query) <= 5 ? 'code' : 'text', 'count' => $limit, - 'page' => ($start / $limit), + 'page' => 0, ); $this->NewSearch(json_encode($query));