From f30a9bba953a9cb24314bf3a5b6811e32016834f Mon Sep 17 00:00:00 2001 From: Bogdan Gusiev Date: Fri, 15 Nov 2024 20:46:39 +0100 Subject: [PATCH] Update version-2/views.diff Co-authored-by: Bohdan Zhuravel --- version-2/views.diff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version-2/views.diff b/version-2/views.diff index 97aeb0e..69d50c6 100644 --- a/version-2/views.diff +++ b/version-2/views.diff @@ -103,7 +103,7 @@ index f54d21c..f57c729 100644 + # Adding html clases based on condition + # Consider maintaining consistency with datagrid/head 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