small fix
This commit is contained in:
1 parent
4e5882411b
commit
f3efa7e4f9
1 file changed
+3
@@ -148,6 +148,7 @@ class UniversalTablesController < ApplicationController
|
||||
rows = []
|
||||
entry.column_entries.each do |ce|
|
||||
ct = ce.table_column
|
||||
next if ct.nil?
|
||||
text = ce.get_frontend_text(ct)
|
||||
rows << {
|
||||
"title" => ct.title,
|
||||
@@ -166,6 +167,8 @@ class UniversalTablesController < ApplicationController
|
||||
rows = []
|
||||
e.column_entries.each do |ce|
|
||||
ct = ce.table_column
|
||||
next if ct.nil?
|
||||
next if ct.display_in_index === false
|
||||
text = ce.get_frontend_text(ct)
|
||||
if ct.is_link_to_show
|
||||
text = "<a href='#{OrbitHelper.url_to_show(e.to_param)}'>#{text}</a>"
|
||||
|
||||
Reference in new issue
Block a user