Skip to content

Commit

Permalink
2441 sort on title_string not name
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed May 29, 2012
1 parent 45d18c6 commit 410e067
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckan/templates/snippets/sort_by.html
Expand Up @@ -2,8 +2,8 @@
<label for="field-order-by">Order by</label>
<select id="field-order-by" name="sort">
<option value="relevance asc"{% if sort =='relevance asc' %} selected="selected"{% endif %}>Relevance</option>
<option value="name asc"{% if sort=='name asc' %} selected="selected"{% endif %}>Name asc</option>
<option value="name desc"{% if sort=='name desc' %} selected="selected"{% endif %}>Name desc</option>
<option value="title_string asc"{% if sort=='title_string asc' %} selected="selected"{% endif %}>Name asc</option>
<option value="title_string desc"{% if sort=='title_string desc' %} selected="selected"{% endif %}>Name desc</option>
<option value="metadata_modified desc"{% if sort=='metadata_modified desc' %} selected="selected"{% endif %}>Last Modified</option>
<option value="views_recent desc"{% if sort=='views_recent desc' %} selected="selected"{% endif %}>Popular</option>
</select>
Expand Down

0 comments on commit 410e067

Please sign in to comment.