From 6f0343354745976c3db4fc875a577a3e2de07623 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 5 Jul 2023 13:47:23 +0200 Subject: [PATCH] Bug 34201: Restore sorting indicator on ERM tables DataTable Vue component keep the 'sorting' class on the th which display the grey up/down icon over the blue icon which indicate the current sort column Test plan: Create several agreements, notice that the list view is having the sorting indicators (blue arrows) in the top right of the first column. Sort the columns: asc, desc, combined sort (shift+click) and confirm that the indicators are correct --- koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss b/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss index 5749180d6ab..8e96f4dfe6b 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss @@ -134,7 +134,7 @@ table { } } - .sorting { + .sorting:not(.sorting_asc):not(.sorting_desc) { background: url( "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2bW0iIGhlaWdodD0iMi41NTFtbSIgdmlld0JveD0iMCAwIDYuMDAwMDAwMyAyLjU1MDY2MTQiPjxwYXRoIGZpbGw9IiNhY2FjYWMiIGQ9Ik00LjA1IDEuNDVoLTIuMUwzIDIuNTV6Ii8+PHBhdGggZmlsbD0iI2FjYWNhYyIgZD0iTTQuMDUgMS4xaC0yLjFMMyAweiIvPjwvc3ZnPg==" ) no-repeat scroll right center $table-header-background; padding-right: 19px; } -- 2.25.1