aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorZog2018-04-13 16:01:27 +0200
committerZog2018-04-13 16:01:27 +0200
commit90efaf80b029cb33495c637ded5eeb65cf1601c4 (patch)
tree38d40e6389b94a61c3fafa157ba5cfeaaa644f99 /app
parent94090e82bfb5f875f70aa1e8bffb8a51724eb760 (diff)
downloadchouette-core-6458-fix-timetable-autocomplete.tar.bz2
Refs #6458; Fix Timetables autocompletion6458-fix-timetable-autocomplete
Diffstat (limited to 'app')
-rw-r--r--app/models/chouette/time_table.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/chouette/time_table.rb b/app/models/chouette/time_table.rb
index b59c95665..648a0c5ea 100644
--- a/app/models/chouette/time_table.rb
+++ b/app/models/chouette/time_table.rb
@@ -16,7 +16,7 @@ module Chouette
end
ransacker :unaccented_comment, formatter: ->(val){ val.parameterize } do
- Arel.sql('unaccent(comment)')
+ Arel.sql('unaccent(time_tables.comment)')
end
has_and_belongs_to_many :vehicle_journeys, :class_name => 'Chouette::VehicleJourney'