Skip to content

Commit

Permalink
Merge pull request #4305 from IQSS/4304-navbar-search
Browse files Browse the repository at this point in the history
use "?" (`?`) rather than "&" (`&`) before "q" #4304
  • Loading branch information
kcondon authored Nov 29, 2017
2 parents d785c5c + cb9647f commit e2878ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/webapp/dataverse_header.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<label class="sr-only" for="navbarsearch">#{bundle.search}</label>
<input id="navbarsearch" type="text" class="search-input ui-inputfield ui-inputtext ui-widget ui-state-default ui-corner-all" size="28" value="" placeholder="#{bundle['header.search.title']}"/>
</div>
<button type="submit" class="btn btn-default" onclick="window.location = '/dataverse/#{dataverseServiceBean.findRootDataverse().alias}&#38;q=' + document.getElementById('navbarsearch').value;
<button type="submit" class="btn btn-default" onclick="window.location = '/dataverse/#{dataverseServiceBean.findRootDataverse().alias}&#63;q=' + document.getElementById('navbarsearch').value;
return false;">
<span class="glyphicon glyphicon-search"/> #{bundle.find}
</button>
Expand Down

0 comments on commit e2878ce

Please sign in to comment.