Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Websites UFRPE
Wagtail Videos
Commits
8c28e4ca
Commit
8c28e4ca
authored
Jul 25, 2016
by
Liam Brenner
Browse files
Fixed list + tuple adding
parent
ef30a396
Changes
1
Hide whitespace changes
Inline
Side-by-side
wagtailvideos/models.py
View file @
8c28e4ca
...
...
@@ -104,7 +104,7 @@ class AbstractVideo(CollectionMember, TagSearchable):
def
usage_url
(
self
):
return
reverse
(
'wagtailvideos:video_usage'
,
args
=
(
self
.
id
,))
search_fields
=
TagSearchable
.
search_fields
+
CollectionMember
.
search_fields
+
[
search_fields
=
list
(
TagSearchable
.
search_fields
)
+
list
(
CollectionMember
.
search_fields
)
+
[
index
.
FilterField
(
'uploaded_by_user'
),
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment