DynamicContentPostList: Ignore invisible entries

This commit is contained in:
Albert S. 2022-03-27 20:03:28 +02:00
والد c891b36339
کامیت f5eb36e7bb

مشاهده پرونده

@ -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)