dont force users who dont want new
to switch sorting every time they open a page (Is this the intended behaviour?)
This commit is contained in:
parent
f6cc00ea1f
commit
8dc3be28fc
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ class Submission(Base):
|
||||||
flair = Column(String)
|
flair = Column(String)
|
||||||
ban_reason = Column(String)
|
ban_reason = Column(String)
|
||||||
embed_url = Column(String)
|
embed_url = Column(String)
|
||||||
new = Column(Boolean, default=True)
|
new = Column(Boolean, default=False)
|
||||||
|
|
||||||
author = relationship("User", primaryjoin="Submission.author_id==User.id")
|
author = relationship("User", primaryjoin="Submission.author_id==User.id")
|
||||||
oauth_app = relationship("OauthApp", viewonly=True)
|
oauth_app = relationship("OauthApp", viewonly=True)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue