aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/models/filters.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/models/filters.rb b/sonar-server/src/main/webapp/WEB-INF/app/models/filters.rb
index 5428d14dad1..69daa540114 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/models/filters.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/models/filters.rb
@@ -44,7 +44,7 @@ class Filters
key_criterion=filter.criterion('key')
if key_criterion
- filter_json[:keyRegexp]=name_criterion.text_value
+ filter_json[:keyRegexp]=key_criterion.text_value
end
name_criterion=filter.criterion('name')