aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-10-10 08:52:12 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2012-10-10 09:13:37 +0200
commit933b61b9b7cdb4be8d4299770369f1faf1bb6ca6 (patch)
treea095dabec16449e3d4ff0c0243e24406a169edce
parent3c665188f4717f971314684b752d953608081aaf (diff)
downloadsonarqube-933b61b9b7cdb4be8d4299770369f1faf1bb6ca6.tar.gz
sonarqube-933b61b9b7cdb4be8d4299770369f1faf1bb6ca6.zip
SONAR-3621 Fix filter by key regexp
-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')