fix broken conversion

This commit is contained in:
Felix Van der Jeugt 2015-09-10 14:47:50 +02:00
parent a3373b019c
commit e891f242e9

View file

@ -2,8 +2,8 @@
= link_to( | = link_to( |
I18n.t("datagrid.table.order.asc").html_safe, | I18n.t("datagrid.table.order.asc").html_safe, |
url_for(grid.param_name => grid.as_query.merge(:order => column.name, :descending => false)), | url_for(grid.param_name => grid.as_query.merge(:order => column.name, :descending => false)), |
:class => "asc") | :class => "asc")
= link_to( | = link_to( |
I18n.t("datagrid.table.order.desc").html_safe, | I18n.t("datagrid.table.order.desc").html_safe, |
url_for(grid.param_name => grid.as_query.merge(:order => column.name, :descending => true )), | url_for(grid.param_name => grid.as_query.merge(:order => column.name, :descending => true )), |
:class => "desc") | :class => "desc")