]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3621 Fix filter by key regexp
authorSimon Brandhof <simon.brandhof@gmail.com>
Wed, 10 Oct 2012 06:52:12 +0000 (08:52 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Wed, 10 Oct 2012 07:13:37 +0000 (09:13 +0200)
sonar-server/src/main/webapp/WEB-INF/app/models/filters.rb

index 5428d14dad14c722749d86d8f97c791b8a3b83a2..69daa5401144bc33c46b05425b78f9c60df98d9a 100644 (file)
@@ -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')