Skip to content

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

Ensure explicit use of field name

Wolf-Bastian Poettner12c7b0d5f543
diff --git a/src/documents/models.py b/src/documents/models.py
index 19f11336d..4929ea459 100644
--- a/src/documents/models.py
+++ b/src/documents/models.py
@@ -312,7 +312,7 @@ class Document(models.Model):
mylist = list()
for t in field.all():
- mylist.append(slugify(t))
+ mylist.append(slugify(t.name))
return mylist