From: Fabrice Bellingard Date: Tue, 17 Jan 2012 11:37:46 +0000 (+0100) Subject: SONAR-2940 Filters: Unable to sort the "language" column on both ways X-Git-Tag: 2.14~295 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1f6df54ae158856115e3235d8dfdfacbd30c85f6;p=sonarqube.git SONAR-2940 Filters: Unable to sort the "language" column on both ways --- diff --git a/sonar-server/src/main/webapp/WEB-INF/app/helpers/filters_helper.rb b/sonar-server/src/main/webapp/WEB-INF/app/helpers/filters_helper.rb index f23a76e5ba1..b40e9452095 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/helpers/filters_helper.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/helpers/filters_helper.rb @@ -83,6 +83,9 @@ module FiltersHelper elsif filter.sorted_column.on_version? java_filter.setSortedByVersion() + + elsif filter.sorted_column.on_language? + java_filter.setSortedByLanguage() elsif filter.sorted_column.on_metric? && filter.sorted_column.metric metric=filter.sorted_column.metric