correctly watch full-text $ field again
authorDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 24 Jan 2013 21:24:00 +0000 (22:24 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 24 Jan 2013 21:24:00 +0000 (22:24 +0100)
app/js/controllers.js

index ef67a50..c0f42c7 100644 (file)
@@ -250,6 +250,7 @@ function ListCtrl($scope, $log, Registration, RegistrationTypes, $filter) {
                $log.info('list length=', $scope.list.length, "offset=", from);
        };
        $scope.$watch('search', $scope.filter_list, true);
+       $scope.$watch('search.$', $scope.filter_list); // FIXME not included in search true because of $
        $scope.$watch('pager', $scope.filter_list, true);
 
        $scope.RegistrationTypes = RegistrationTypes;