Skip to content

Commit cd10055

Browse files
authored
Update models.py
1 parent f77faf9 commit cd10055

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

djangocms_file/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class AbstractFile(CMSPlugin):
3939
"""
4040
Renders a file wrapped by an anchor
4141
"""
42-
search_fields = ('name',)
42+
search_fields = ('file_name',)
4343

4444
template = models.CharField(
4545
verbose_name=_('Template'),

0 commit comments

Comments
 (0)