diff --git a/app/views/datagrid/_head.html.erb b/app/views/datagrid/_head.html.erb index 248bc0c..2aa1779 100644 --- a/app/views/datagrid/_head.html.erb +++ b/app/views/datagrid/_head.html.erb @@ -6,7 +6,7 @@ # Adding HTML classes based on condition # Consider maintaining consistency with datagrid/rows partial "datagrid-order-active-asc": grid.ordered_by?(column, false), - "datagrid-order-active-desc": grid.ordered_by?(column ,true), + "datagrid-order-active-desc": grid.ordered_by?(column, true), column.html_class => column.html_class.present?, }, "data-column": column.name