From 47a2d09bfba23763e3a0f23d4b388e7bcaf3d2b6 Mon Sep 17 00:00:00 2001 From: Bogdan Gusiev Date: Fri, 15 Nov 2024 19:23:01 +0100 Subject: [PATCH] Update app/views/datagrid/_head.html.erb Co-authored-by: Bohdan Zhuravel --- app/views/datagrid/_head.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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