aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r--pyaggr3g470r/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/models.py b/pyaggr3g470r/models.py
index ba2730b9..017ecd4f 100644
--- a/pyaggr3g470r/models.py
+++ b/pyaggr3g470r/models.py
@@ -14,7 +14,7 @@ class User(Document, UserMixin):
lastname = StringField(required = True)
email = EmailField(required=True, unique=True)
pwdhash = StringField(required=True)
- feeds = SortedListField(EmbeddedDocumentField('Feed'), ordering='title', reverse=True)
+ feeds = SortedListField(EmbeddedDocumentField('Feed'), ordering='title', reverse=False)
created_at = DateTimeField(required=True, default=datetime.now)
def get_id(self):
bgstack15