mirror of
https://github.com/djohnlewis/stackdump
synced 2024-12-04 23:17:37 +00:00
Fixed bug where searching on site search pages would bounce you back to the all sites search page.
This commit is contained in:
parent
a4dd607dcc
commit
7dac0dcdea
@ -5,7 +5,7 @@
|
||||
{% block body %}
|
||||
<div class="row">
|
||||
<div class="span16">
|
||||
<form id="search" method="get" action="{{ SETTINGS.APP_URL_ROOT }}search">
|
||||
<form id="search" method="get" action="{{ SETTINGS.APP_URL_ROOT }}{{ site.key }}/search">
|
||||
<input type="text" class="xlarge" name="q" value="{{ query }}" />
|
||||
<input type="hidden" name="s" value="{{ sort_by }}" />
|
||||
<input type="submit" class="btn primary" value="Search{% if site %} {{ site.name }}{% endif %}" />
|
||||
|
Loading…
Reference in New Issue
Block a user