aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/referentials
diff options
context:
space:
mode:
authorXinhui2017-03-16 15:34:07 +0100
committerXinhui2017-03-16 15:34:19 +0100
commit78ba8bca32a79edb3928fb5c30f2cf2247aede69 (patch)
tree7190f5dd26e98ba4f45b37a7147e0d0780bee5e6 /app/views/referentials
parent9456ec4f95e6e148b9b8471c0f00530e99154e06 (diff)
downloadchouette-core-78ba8bca32a79edb3928fb5c30f2cf2247aede69.tar.bz2
Wip sort issue on table list
Refs #2858
Diffstat (limited to 'app/views/referentials')
-rw-r--r--app/views/referentials/show.html.slim4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/referentials/show.html.slim b/app/views/referentials/show.html.slim
index 5c267769a..f12f47aa4 100644
--- a/app/views/referentials/show.html.slim
+++ b/app/views/referentials/show.html.slim
@@ -52,8 +52,8 @@
:name => 'name',
:deactivated => Proc.new{|n| n.deactivated? ? t('false') : t('true')},
:transport_mode => 'transport_mode',
- :network => Proc.new { |n| n.try(:network).try(:name) },
- :company => Proc.new { |n| n.try(:company).try(:name) } },
+ 'networks.name' => Proc.new { |n| n.try(:network).try(:name) },
+ 'companies.name' => Proc.new { |n| n.try(:company).try(:name) } },
[:show],
[],
'table has-filter has-search'