server/db: poor fix for tag aliases' order
It's a hack, but it seems to work okay.
This commit is contained in:
parent
48af5160df
commit
a224297c4f
1 changed files with 1 additions and 0 deletions
|
@ -100,6 +100,7 @@ class Tag(Base):
|
|||
first_name = column_property(
|
||||
select([TagName.name])
|
||||
.where(TagName.tag_id == tag_id)
|
||||
.order_by(TagName.tag_name_id)
|
||||
.limit(1)
|
||||
.as_scalar(),
|
||||
deferred=True)
|
||||
|
|
Loading…
Reference in a new issue