aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/views/autocomplete_time_tables/index.rabl3
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