* VRFS-3178 - sort instrument by alpha
This commit is contained in:
parent
99fa64f4b0
commit
1a191f1b0b
|
|
@ -27,7 +27,7 @@
|
|||
=content_tag(:div, :class => 'filter-element wrapper') do
|
||||
-if :musician==filter_label || :jamtrack==filter_label
|
||||
/ =content_tag(:div, 'Instrument:', :class => 'filter-element desc instrument-selector')
|
||||
=select_tag("#{filter_label}_instrument", options_for_select([['Any Instrument', '']].concat(JamRuby::Instrument.all.collect { |ii| [ii.description, ii.id] })), {:class=> "easydropdown"}) |
|
||||
=select_tag("#{filter_label}_instrument", options_for_select([['Any Instrument', '']].concat(JamRuby::Instrument.order('description').collect { |ii| [ii.description, ii.id] })), {:class=> "easydropdown"}) |
|
||||
-if :feed==filter_label
|
||||
/ =content_tag(:div, 'Include Dates:', :class => 'filter-element desc')
|
||||
=select_tag("#{filter_label}_date", options_for_select(Search::DATE_OPTS), {:class => "easydropdown"})
|
||||
|
|
|
|||
Loading…
Reference in New Issue