From 3763834578c93ee2ec3e7e92d35708fd43ab233d Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Fri, 29 Jun 2018 23:42:20 +0100 Subject: [PATCH] lib/postgres/article.sql --- lib/postgres/website.sql | 3 ++- www/dbq/dbq.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/postgres/website.sql b/lib/postgres/website.sql index 60860f12..c5857523 100644 --- a/lib/postgres/website.sql +++ b/lib/postgres/website.sql @@ -2,7 +2,8 @@ DROP TABLE IF EXISTS website; CREATE TABLE IF NOT EXISTS website ( url varchar(200) PRIMARY KEY, --id serial PRIMARY KEY, - lang char(3) REFERENCES lang (id), + --lang char(3) REFERENCES lang (id), + lang char(3), name varchar(200), description varchar(500), --url varchar(200), diff --git a/www/dbq/dbq.php b/www/dbq/dbq.php index 94c0dbf4..afb14860 100644 --- a/www/dbq/dbq.php +++ b/www/dbq/dbq.php @@ -519,7 +519,7 @@ class DbQ extends nb { ]; $this->db->is_html = $ropt['is_html']; -# NB 26.06.18 $this->db->limit = $ropt['is_html'] ? $this->limit() : null; + $this->db->limit = empty($ropt['html_menu']) ? $this->limit() : null; $this->db->limit = $this->limit(); if (!empty($this->_nopage)) { $this->table->show_url_sort = false; -- 2.47.3