diff options
author | rubenwardy <rw@rubenwardy.com> | 2020-07-12 20:59:06 +0100 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2020-07-12 21:02:50 +0100 |
commit | ab58570a0c1973e1467101222a6ec6804c4fe1a1 (patch) | |
tree | 652ff7626bd72746cb9ff931743b102ee33c3d3f /app/blueprints/packages/packages.py | |
parent | cd520a0251ee55cf385bd1e9ed02430f3d57aea7 (diff) | |
download | cheatdb-ab58570a0c1973e1467101222a6ec6804c4fe1a1.tar.xz |
Redesign user list
Diffstat (limited to 'app/blueprints/packages/packages.py')
-rw-r--r-- | app/blueprints/packages/packages.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/blueprints/packages/packages.py b/app/blueprints/packages/packages.py index 0cb9b35..90cb72f 100644 --- a/app/blueprints/packages/packages.py +++ b/app/blueprints/packages/packages.py @@ -81,7 +81,7 @@ def list_all(): topics = qb.buildTopicQuery().all() tags = db.session.query(func.count(Tags.c.tag_id), Tag) \ - .select_from(Tag).outerjoin(Tags).group_by(Tag.id).order_by(db.asc(Tag.title)) + .select_from(Tag).outerjoin(Tags).group_by(Tag.id).order_by(db.asc(Tag.title)).all() selected_tags = set(qb.tags) |