torrentleech: handle null title. resolves #13736

This commit is contained in:
Garfield69 2022-11-23 08:52:14 +13:00
parent a9349b62ce
commit 5ca5372ae0
1 changed files with 4 additions and 1 deletions

View File

@ -137,8 +137,11 @@ search:
fields:
category:
selector: categoryID
title:
title_test: # title can be null #13736
selector: name
optional: true
title:
text: "{{ if .Result.title_test }}{{ .Result.title_test }}{{ else }}TorrentLeech did not provide a title{{ end }}"
_id:
selector: fid
_filename: