From: Nicolas Boisselier Date: Fri, 29 Jun 2018 22:42:20 +0000 (+0100) Subject: lib/postgres/article.sql X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=3763834578c93ee2ec3e7e92d35708fd43ab233d;p=nb.git lib/postgres/article.sql --- 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;