Skip to content

Commit

Permalink
[#2722] Re implement the sort by field on the group form
Browse files Browse the repository at this point in the history
  • Loading branch information
aron committed Aug 9, 2012
1 parent 3f6f3fd commit 1aa96de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckan/templates/package/snippets/search_form.html
@@ -1,9 +1,9 @@
<form id="dataset-search" class="dataset-search clearfix" method="GET">
<form id="dataset-search" class="dataset-search clearfix" method="GET" data-module="select-switch">
<span class="control-group search-giant">
<input type="text" class="search" name="q" value="{{ c.q }}" autocomplete="off" placeholder="{{ _('Search...') }}" />
<button type="submit" value="{{ _('Search') }}">Submit</button>
</span>
{# {{ h.snippet('snippets/sort_by.html', sort=c.sort_by_selected) }} #}
{% snippet 'snippets/sort_by.html', sort=c.sort_by_selected %}
{% if c.fields %}
<span>
{% for key, value in c.fields %}
Expand Down

0 comments on commit 1aa96de

Please sign in to comment.