Allow searching for content type 0 (Unclassified)

This commit is contained in:
prpr 2024-09-15 02:01:38 +01:00
parent 72cca9737b
commit ad950424f8

View File

@ -9,7 +9,7 @@ header
require totop require totop
set ct [cgi_unquote_input [cgi_get ct 0]] set ct [cgi_unquote_input [cgi_get ct ""]]
set crid [cgi_unquote_input [cgi_get crid ""]] set crid [cgi_unquote_input [cgi_get crid ""]]
set scrid [cgi_unquote_input [cgi_get scrid ""]] set scrid [cgi_unquote_input [cgi_get scrid ""]]
@ -41,7 +41,7 @@ set cmd "search"
if {$searchfull} { set cmd "searchall" } if {$searchfull} { set cmd "searchall" }
set dedup 0 set dedup 0
if {$ct > 0 } { if {$ct ne "" } {
set records [epg dbfetch dump -type $ct] set records [epg dbfetch dump -type $ct]
if {[[settings] genrededup]} { set dedup 1 } if {[[settings] genrededup]} { set dedup 1 }
} elseif {$crid ne ""} { } elseif {$crid ne ""} {