Fix category hide_globally property in /entries

Follow-up of 64c4c6b347
This commit is contained in:
Nicolas Martinelli 2023-10-29 14:38:12 +01:00 committed by Frédéric Guillot
parent c81b61462e
commit d566dea265

View file

@ -284,6 +284,7 @@ func (e *EntryQueryBuilder) GetEntries() (model.Entries, error) {
f.checked_at, f.checked_at,
f.category_id, f.category_id,
c.title as category_title, c.title as category_title,
c.hide_globally as category_hidden,
f.scraper_rules, f.scraper_rules,
f.rewrite_rules, f.rewrite_rules,
f.crawler, f.crawler,
@ -349,6 +350,7 @@ func (e *EntryQueryBuilder) GetEntries() (model.Entries, error) {
&entry.Feed.CheckedAt, &entry.Feed.CheckedAt,
&entry.Feed.Category.ID, &entry.Feed.Category.ID,
&entry.Feed.Category.Title, &entry.Feed.Category.Title,
&entry.Feed.Category.HideGlobally,
&entry.Feed.ScraperRules, &entry.Feed.ScraperRules,
&entry.Feed.RewriteRules, &entry.Feed.RewriteRules,
&entry.Feed.Crawler, &entry.Feed.Crawler,