Tags in detail view are sorted now

pull/519/head
OzzieIsaacs 7 years ago
parent 204cd504a9
commit bf44774f22

@ -254,7 +254,7 @@ class Books(Base):
uuid = Column(String) uuid = Column(String)
authors = relationship('Authors', secondary=books_authors_link, backref='books') authors = relationship('Authors', secondary=books_authors_link, backref='books')
tags = relationship('Tags', secondary=books_tags_link, backref='books') tags = relationship('Tags', secondary=books_tags_link, backref='books',order_by="Tags.name")
comments = relationship('Comments', backref='books') comments = relationship('Comments', backref='books')
data = relationship('Data', backref='books') data = relationship('Data', backref='books')
series = relationship('Series', secondary=books_series_link, backref='books') series = relationship('Series', secondary=books_series_link, backref='books')

Loading…
Cancel
Save