aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/networks
diff options
context:
space:
mode:
authorjpl2017-03-15 15:34:15 +0100
committerjpl2017-03-15 15:34:29 +0100
commit0e88a03798edc961c9a63b9407c50e07df83ce57 (patch)
treebd7ed432a1140451e4e25112ed8e5a719e873540 /app/views/networks
parentfa2fbe3f09b0330cb8b4e45a8f9b2c435c1a18b1 (diff)
downloadchouette-core-0e88a03798edc961c9a63b9407c50e07df83ce57.tar.bz2
Refs #2800: updating table_builder to fix some issues in sortable columns (first pass)
Diffstat (limited to 'app/views/networks')
-rw-r--r--app/views/networks/index.html.slim3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/networks/index.html.slim b/app/views/networks/index.html.slim
index d99f612bc..a10eea707 100644
--- a/app/views/networks/index.html.slim
+++ b/app/views/networks/index.html.slim
@@ -27,7 +27,8 @@
.row
.col-lg-12
= table_builder @networks,
- { 'Oid' => Proc.new { |n| n.try(:objectid).try(:local_id) }, @networks.human_attribute_name(:name) => 'name' },
+ { 'Oid' => Proc.new { |n| n.try(:objectid).try(:local_id) },
+ :name => 'name' },
[:show, :edit, :delete],
[],
'table has-search'