aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorEvgeny Mandrikov <mandrikov@gmail.com>2012-01-19 01:24:41 +0400
committerEvgeny Mandrikov <mandrikov@gmail.com>2012-01-19 02:00:09 +0400
commit1f09a8772503bdbdaf51d2738a196270a42f39d1 (patch)
treed6fea62e2ba871fef86c4f9c2fbcbbdc1ca734bb /sonar-server
parent6b18d0b4a318d8830711c34989d5058dce044814 (diff)
downloadsonarqube-1f09a8772503bdbdaf51d2738a196270a42f39d1.tar.gz
sonarqube-1f09a8772503bdbdaf51d2738a196270a42f39d1.zip
SONAR-3129 Fix selection of columns for filter, when language not english
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/filters/_customize_list.html.erb6
1 files changed, 3 insertions, 3 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/filters/_customize_list.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/filters/_customize_list.html.erb
index a0c8fcd78d9..34d2879e6e3 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/filters/_customize_list.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/filters/_customize_list.html.erb
@@ -11,9 +11,9 @@
<select name="column" id="select_column">
<option value="" selected></option>
- <% Metric.domains.each do |domain| %>
- <optgroup label="<%= domain -%>">
- <% Metric.by_domain(domain).each do |metric| %>
+ <% Metric.domains(false).each do |domain| %>
+ <optgroup label="<%= Metric.domain_for(domain) -%>">
+ <% Metric.by_domain(domain, false).each do |metric| %>
<% if metric.display? %><option value="metric,<%= metric.id -%>"><%= metric.short_name -%></option><% end %>
<% end %>
<% if domain=='General' %>