projects
/
angular-drzb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dce8941
)
correctly watch full-text $ field again
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 24 Jan 2013 21:24:00 +0000
(22:24 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 24 Jan 2013 21:24:00 +0000
(22:24 +0100)
app/js/controllers.js
patch
|
blob
|
history
diff --git
a/app/js/controllers.js
b/app/js/controllers.js
index
ef67a50
..
c0f42c7
100644
(file)
--- a/
app/js/controllers.js
+++ b/
app/js/controllers.js
@@
-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;