mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-08 07:45:32 +01:00
Ensure explicit use of field name
This commit is contained in:
parent
2bd4eb2292
commit
12c7b0d5f5
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue