diff options
Diffstat (limited to 'app/controllers/referential_lines_controller.rb')
| -rw-r--r-- | app/controllers/referential_lines_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/referential_lines_controller.rb b/app/controllers/referential_lines_controller.rb index c53819dd2..d767cb151 100644 --- a/app/controllers/referential_lines_controller.rb +++ b/app/controllers/referential_lines_controller.rb @@ -67,7 +67,7 @@ class ReferentialLinesController < ChouetteController end def collection - %w(network_id company_id group_of_lines_id comment_id transport_mode_name).each do |filter| + %w(network_id company_id group_of_lines_id comment_id transport_mode).each do |filter| if params[:q] && params[:q]["#{filter}_eq"] == '-1' params[:q]["#{filter}_eq"] = '' params[:q]["#{filter}_blank"] = '1' @@ -92,7 +92,7 @@ class ReferentialLinesController < ChouetteController :creator_id, :name, :number, :published_name, - :transport_mode_name, + :transport_mode, :registration_number, :comment, :mobility_restricted_suitability, |
