DynamicContentPostList: Ignore invisible entries

This commit is contained in:
Albert S. 2022-03-27 20:03:28 +02:00
vanhempi c891b36339
commit f5eb36e7bb

Näytä tiedosto

@ -12,6 +12,7 @@ std::string DynamicContentPostList::render()
auto pageDao = this->database->createPageDao();
auto revisionDao = this->database->createRevisionDao();
QueryOption option;
option.includeInvisible = false;
auto members = categoryDao->fetchMembers(this->catname, option);
std::vector<std::pair<std::string, time_t>> pageList;
for(std::string &member : members)