Skip to content

Commit

Permalink
Pass the correct data attribute value to the work search
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne authored and whunter committed Aug 3, 2017
1 parent 2aec20b commit 63e0bda
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/assets/javascripts/hyrax/autocomplete.es6
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ export default class Autocomplete {
case 'work':
new Work(
element,
data.autocompleteUrl,
data.user,
url,
element.data('exclude-work')
)
break
Expand Down

0 comments on commit 63e0bda

Please sign in to comment.