reverse project 'archive' to 'active'

This commit is contained in:
David Lai 2021-09-15 10:03:05 +08:00
parent 453a813ec1
commit b0d166fe09
8 changed files with 23 additions and 24 deletions

View file

@ -46,7 +46,7 @@ class ProjectModel(QtGui.QStandardItemModel):
project_names = set()
for doc in sorted(
self.dbcon.projects(projection={"name": 1}, no_archived=True),
self.dbcon.projects(projection={"name": 1}, only_active=True),
key=lambda x: x["name"]
):