Skip to content

Commit

Permalink
Remove spaces from search link urls
Browse files Browse the repository at this point in the history
  • Loading branch information
ahaith committed May 5, 2016
1 parent d7c48e2 commit 2f57c57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion talks/templates/search/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ <h3>Top results</h3>
{% endif %}

<h3>Upcoming</h3>
<h5><a href="{% url 'haystack_search_past' %}?q= {{query}}">Show past results</a></h5>
<h5><a href="{% url 'haystack_search_past' %}?q={{query}}">Show past results</a></h5>
{% include "events/_event_list.html" with grouped_events=grouped_future_results %}

</div>
Expand Down
2 changes: 1 addition & 1 deletion talks/templates/search/search_past.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<div class="col-md-9 col-md-push-3">
<h3>Past results</h3>
<h5><a href="{% url 'haystack_search' %}?q= {{query}}">Show upcoming results</a></h5>
<h5><a href="{% url 'haystack_search' %}?q={{query}}">Show upcoming results</a></h5>

{% include "events/_event_list.html" with grouped_events=grouped_past_results %}

Expand Down

0 comments on commit 2f57c57

Please sign in to comment.