diff --git a/ontrack-web/src/app/extension/scm/scm.js b/ontrack-web/src/app/extension/scm/scm.js
index <HASH>..<HASH> 100644
--- a/ontrack-web/src/app/extension/scm/scm.js
+++ b/ontrack-web/src/app/extension/scm/scm.js
@@ -39,10 +39,11 @@ angular.module('ontrack.extension.scm', [
             controller: function ($scope) {
                 // TODO Loads the list of filters (async)
                 $scope.filters = [];
+                // Submitting a pattern
                 $scope.submitQuickPattern = function () {
                     var pattern = $scope.quickPattern;
                     if (pattern) {
-                        alert(pattern);
+                        $scope.submitPattern([pattern]);
                     }
                 };
                 $scope.addFileFilter = function () {
@@ -59,6 +60,16 @@ angular.module('ontrack.extension.scm', [
                         $scope.selectedFilter = undefined;
                     }
                 };
+                $scope.$watch('selectedFilter', function () {
+                    if ($scope.selectedFilter) {
+                        $scope.submitPattern($scope.selectedFilter.patterns);
+                    } else {
+                        $scope.submitPattern(undefined);
+                    }
+                });
+                $scope.submitPattern = function (patterns) {
+                    // TODO Filtering based on the patterns
+                };
             }
         };
     })
#<I> Submitting the pattern selection