jpopsuki: add search error trap

show Database error. instead of 0 results
This commit is contained in:
Garfield69 2024-05-19 13:44:35 +12:00
parent 764624cfd5
commit b7bb472a0b
1 changed files with 2 additions and 0 deletions

View File

@ -86,6 +86,8 @@ search:
searchtags: "{{ .Query.Genre }}" searchtags: "{{ .Query.Genre }}"
# 0 Any, 1 All # 0 Any, 1 All
tags_type: 1 tags_type: 1
error:
- selector: :root:contains("Database error.")
rows: rows:
selector: table#torrent_table > tbody > tr[class^="torrent"] selector: table#torrent_table > tbody > tr[class^="torrent"]