diff options
| author | Xinhui | 2017-05-22 11:21:09 +0200 |
|---|---|---|
| committer | Xinhui | 2017-05-22 11:21:09 +0200 |
| commit | ee3d354859b3578ff4aedaefcd85585924d5ed1e (patch) | |
| tree | 3711a33dd6e7513f7329201f7f860dd7f8d7d4d3 | |
| parent | 23608f5793ddf255ca616aa6eeabf88fe66b6ca2 (diff) | |
| download | chouette-core-ee3d354859b3578ff4aedaefcd85585924d5ed1e.tar.bz2 | |
Edit autocomplete time_tables json format
Refs #3429
| -rw-r--r-- | app/views/autocomplete_time_tables/index.rabl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/autocomplete_time_tables/index.rabl b/app/views/autocomplete_time_tables/index.rabl index c6c993d16..80e3f8684 100644 --- a/app/views/autocomplete_time_tables/index.rabl +++ b/app/views/autocomplete_time_tables/index.rabl @@ -8,7 +8,8 @@ node do |time_table| :tags => time_table.tags.join(','), :text => "#{time_table.comment} - #{time_table.display_day_types} - #{time_table.objectid.parts.try(:third)}", :color => time_table.color, - :day_types => time_table.display_day_types + :day_types => time_table.display_day_types, + :short_id => time_table.objectid.parts.try(:third) } end |
