From b488ec28cecbcea621245ffe01440f5df3d66078 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Thu, 29 Dec 2016 23:38:29 +0000 Subject: [PATCH] limit only for rows --- www/dbq/dbq.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/dbq/dbq.php b/www/dbq/dbq.php index 3ecdaf76..5ac0e19d 100644 --- a/www/dbq/dbq.php +++ b/www/dbq/dbq.php @@ -110,7 +110,6 @@ class DbQ extends nb { // Write output if (empty($this->default_limit)) $this->default_limit = $this->db->limits[0]; - $this->db->limit = $this->limit(); if (empty($this->_nopage)) { @@ -232,6 +231,7 @@ class DbQ extends nb { } public function table_rows($fct=null) { + $this->db->limit = $this->limit(); $opt = ($this->page->is('html') and ($this->perm >= self::VIEW) -- 2.47.3