app/views/search_results/sections/_collection.html.erb in iqvoc-4.11.1 vs app/views/search_results/sections/_collection.html.erb in iqvoc-4.12.0

- old
+ new

@@ -1,6 +1,6 @@ -<div class="form-group"> +<div class="form-group result_type_filter"> <%= label_tag 'c', Iqvoc::Collection.base_class.model_name.human, :class => 'col-sm-2 control-label' %> <div class="col-sm-4"> - <%= select_tag 'c', options_for_select(@collections.sort { |a, b| a.pref_label.to_s <=> b.pref_label.to_s }.map { |c| [c.pref_label.to_s, c.origin] }, params[:c]), :class => 'form-control', :prompt => t('txt.views.search_results.all') %> + <%= select_tag 'c', options_from_collection_for_select(@collections, 'origin', 'status', params[:c]), :class => 'form-control', :prompt => t('txt.views.search_results.all') %> </div> </div>