Commit e739076b968df8354f3e2acaece5f1b20af96523
1 parent
98738460
Exists in
master
and in
28 other branches
Do not add wildcards
solr does not support them (or isn't configured to support them)
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
public/javascripts/article.js
| ... | ... | @@ -134,7 +134,7 @@ jQuery(function($) { |
| 134 | 134 | } |
| 135 | 135 | |
| 136 | 136 | $('#media-search-button').click(function() { |
| 137 | - var query = '*' + $('#media-search-query').val() + '*'; | |
| 137 | + var query = $('#media-search-query').val(); | |
| 138 | 138 | var $button = $(this); |
| 139 | 139 | $('#media-search-box .header').toggleClass('icon-loading'); |
| 140 | 140 | $.get($(this).parent().attr('action'), { 'q': query }, function(data) { | ... | ... |