1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-07-02 16:38:37 +00:00

Display option to hide feed only when category is not already hidden

This commit is contained in:
Jan-Lukas Else 2021-08-16 11:23:52 +02:00 committed by fguillot
parent ce6fa4c0fc
commit b58a46455b
4 changed files with 8 additions and 1 deletions

View file

@ -169,6 +169,7 @@ func (f *FeedQueryBuilder) GetFeeds() (model.Feeds, error) {
f.hide_globally,
f.category_id,
c.title as category_title,
c.hide_globally as category_hidden,
fi.icon_id,
u.timezone
FROM
@ -230,6 +231,7 @@ func (f *FeedQueryBuilder) GetFeeds() (model.Feeds, error) {
&feed.HideGlobally,
&feed.Category.ID,
&feed.Category.Title,
&feed.Category.HideGlobally,
&iconID,
&tz,
)