@@ -456,6 +456,7 class Query < ActiveRecord::Base | |||
|
456 | 456 | def available_filters |
|
457 | 457 | unless @available_filters |
|
458 | 458 | initialize_available_filters |
|
459 | @available_filters ||= {} | |
|
459 | 460 | @available_filters.each do |field, options| |
|
460 | 461 | options[:name] ||= l(options[:label] || "field_#{field}".gsub(/_id$/, '')) |
|
461 | 462 | end |
General Comments 0
You need to be logged in to leave comments.
Login now