Fix message loading for standar root.
This commit is contained in:
parent
b7349140ee
commit
5baa274970
1 changed files with 2 additions and 2 deletions
|
@ -596,8 +596,8 @@ bool StandardServiceRoot::loadMessagesForItem(RootItem *item, QSqlTableModel *mo
|
||||||
QList<Feed*> children = item->getSubTreeFeeds();
|
QList<Feed*> children = item->getSubTreeFeeds();
|
||||||
QString filter_clause = textualFeedIds(children).join(QSL(", "));
|
QString filter_clause = textualFeedIds(children).join(QSL(", "));
|
||||||
|
|
||||||
model->setFilter(QString(QSL("feed IN (%1) AND is_deleted = 0 AND is_pdeleted = 0 AND account_id = %1")).arg(filter_clause,
|
model->setFilter(QString(QSL("feed IN (%1) AND is_deleted = 0 AND is_pdeleted = 0 AND account_id = %2")).arg(filter_clause,
|
||||||
accountId()));
|
accountId()));
|
||||||
qDebug("Loading messages from feeds: %s.", qPrintable(filter_clause));
|
qDebug("Loading messages from feeds: %s.", qPrintable(filter_clause));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue