Select New Attributes you want to see in the table for the history of the records in vertica
<% if params[:order_by] == col+' desc' %> <%= link_to col.camelize, vertica_history_view_history_path(order_by: (col + ' asc'), columns: @columns) %> <%= '▲' %> <% else %> <%= link_to col.camelize, vertica_history_view_history_path(order_by: (col + ' desc'), columns: @columns) %> <%= '▼' if params[:order_by] == col+' asc' %> <% end %> | <% end %>
---|
<%= data[col.to_sym] %> | <% end %>