forked from hummypkg/webif
Fix favourite group selection
This commit is contained in:
parent
ba3db5eb59
commit
132afd3ca7
@ -461,6 +461,7 @@ proc {epg dbfetch} {mode args} {
|
|||||||
) "
|
) "
|
||||||
}
|
}
|
||||||
-fav {
|
-fav {
|
||||||
|
set v $(1 << ($v - 1))
|
||||||
append from \
|
append from \
|
||||||
"join TBL_FAV f using(hSvc) "
|
"join TBL_FAV f using(hSvc) "
|
||||||
append q "and f.eFavGroup = $v "
|
append q "and f.eFavGroup = $v "
|
||||||
@ -515,7 +516,7 @@ proc {epg fetch} {mode args} {
|
|||||||
proc {epg favlist} {} {
|
proc {epg favlist} {} {
|
||||||
global channeldb
|
global channeldb
|
||||||
|
|
||||||
set num [[settings] channel_group]
|
set num $(1 << ([[settings] channel_group] - 1))
|
||||||
|
|
||||||
if {!$num} { return "" }
|
if {!$num} { return "" }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user