A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Add missing filter rule types to SavedViewFilterRule model
Michael Shamoona406920ae6b3
diff --git a/src-ui/src/app/data/filter-rule-type.ts b/src-ui/src/app/data/filter-rule-type.tsindex 35e597ab6..3c115e772 100644--- a/src-ui/src/app/data/filter-rule-type.ts+++ b/src-ui/src/app/data/filter-rule-type.ts@@ -1,3 +1,4 @@+// These correspond to src/documents/models.py and changes here require a DB migration (and vice versa)export const FILTER_TITLE = 0export const FILTER_CONTENT = 1diff --git a/src/documents/models.py b/src/documents/models.pyindex b2070d2f1..fc1d0cb7d 100644--- a/src/documents/models.py+++ b/src/documents/models.py@@ -404,6 +404,9 @@ class SavedViewFilterRule(models.Model):(20, _("fulltext query")),(21, _("more like this")),(22, _("has tags in")),+ (23, _("ASN greater than")),+ (24, _("ASN less than")),+ (25, _("storage path is")),]saved_view = models.ForeignKey(