Skip to content

Commit e2d1531

Browse files
committed
fixed sorting not being preserved when applying filters
1 parent 6e6d1a3 commit e2d1531

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

app/views/search/_filters.html.erb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
<% @active_filter ||= {} %>
44

55
<div class="form-group">
6+
<input name="sort" type="hidden" value="<%= params[:sort] || '' %>" />
7+
68
<div class="form-group-horizontal">
79
<div class="form-group">
810
<%= label_tag :predefined_filter, 'Predefined Filters', class: "form-element" %>

0 commit comments

Comments
 (0)