mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-10 08:37:19 +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()
|
mylist = list()
|
||||||
|
|
||||||
for t in field.all():
|
for t in field.all():
|
||||||
mylist.append(slugify(t))
|
mylist.append(slugify(t.name))
|
||||||
|
|
||||||
return mylist
|
return mylist
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue