From 2dc16c79a2bd04a1418ad095b56cc9f8342a98ef Mon Sep 17 00:00:00 2001 From: xiaomlove Date: Wed, 9 Mar 2022 20:04:03 +0800 Subject: [PATCH] add _db&_doc readme + torrents pager add tag_id --- _db/README-EN.md | 1 + _db/README.md | 1 + _doc/README-EN.md | 1 + _doc/README.md | 1 + public/torrents.php | 1 + 5 files changed, 5 insertions(+) create mode 100644 _db/README-EN.md create mode 100644 _db/README.md create mode 100644 _doc/README-EN.md create mode 100644 _doc/README.md diff --git a/_db/README-EN.md b/_db/README-EN.md new file mode 100644 index 00000000..7cccdd1c --- /dev/null +++ b/_db/README-EN.md @@ -0,0 +1 @@ +From v1.6 onwards there is no need to create tables, it is created automatically by the migration file during installation. This directory file is reserved only for. diff --git a/_db/README.md b/_db/README.md new file mode 100644 index 00000000..dd1585f2 --- /dev/null +++ b/_db/README.md @@ -0,0 +1 @@ +**v1.6 起不需要单独创建数据表,安装过程通过 migration 文件自动创建。此目录文件仅作保留。** diff --git a/_doc/README-EN.md b/_doc/README-EN.md new file mode 100644 index 00000000..9778dd37 --- /dev/null +++ b/_doc/README-EN.md @@ -0,0 +1 @@ +**Documentation:https://doc.nexusphp.org/en/** diff --git a/_doc/README.md b/_doc/README.md new file mode 100644 index 00000000..d119052e --- /dev/null +++ b/_doc/README.md @@ -0,0 +1 @@ +**文档地址:https://doc.nexusphp.org/** diff --git a/public/torrents.php b/public/torrents.php index 2ccae121..f20eb46f 100644 --- a/public/torrents.php +++ b/public/torrents.php @@ -830,6 +830,7 @@ $tagFilter = ""; $tagId = intval($_REQUEST['tag_id'] ?? 0); if ($tagId > 0) { $tagFilter = " inner join torrent_tags on torrents.id = torrent_tags.torrent_id and torrent_tags.tag_id = $tagId "; + $addparam .= "&tag_id=$tagId"; } if ($allsec == 1 || $enablespecial != 'yes') {