1
0
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:
Samuel Lai 2012-02-11 19:08:28 +11:00
parent a4dd607dcc
commit 7dac0dcdea

View File

@ -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 %}" />