add _db&_doc readme + torrents pager add tag_id

This commit is contained in:
xiaomlove
2022-03-09 20:04:03 +08:00
parent 72818ddbbf
commit 2dc16c79a2
5 changed files with 5 additions and 0 deletions

1
_db/README-EN.md Normal file
View File

@@ -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.

1
_db/README.md Normal file
View File

@@ -0,0 +1 @@
**v1.6 起不需要单独创建数据表,安装过程通过 migration 文件自动创建。此目录文件仅作保留。**

1
_doc/README-EN.md Normal file
View File

@@ -0,0 +1 @@
**Documentationhttps://doc.nexusphp.org/en/**

1
_doc/README.md Normal file
View File

@@ -0,0 +1 @@
**文档地址https://doc.nexusphp.org/**

View File

@@ -830,6 +830,7 @@ $tagFilter = "";
$tagId = intval($_REQUEST['tag_id'] ?? 0); $tagId = intval($_REQUEST['tag_id'] ?? 0);
if ($tagId > 0) { if ($tagId > 0) {
$tagFilter = " inner join torrent_tags on torrents.id = torrent_tags.torrent_id and torrent_tags.tag_id = $tagId "; $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') if ($allsec == 1 || $enablespecial != 'yes')
{ {