Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

revert the changes that caused issues in the admin.

jonaswinklere9affbc1cf2b
diff --git a/src/documents/models.py b/src/documents/models.py
index cede29b8e..3a6d155ed 100755
--- a/src/documents/models.py
+++ b/src/documents/models.py
@@ -78,6 +78,9 @@ class Correspondent(MatchingModel):
# better safe than sorry.
SAFE_REGEX = re.compile(r"^[\w\- ,.']+$")
+ class Meta:
+ ordering = ("name",)
+
class Tag(MatchingModel):