aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ng/filter/filter.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ng/filter/filter.js b/src/ng/filter/filter.js
index 7720bb13..eabe84a7 100644
--- a/src/ng/filter/filter.js
+++ b/src/ng/filter/filter.js
@@ -188,7 +188,7 @@ function filterFilter() {
(function(path) {
if (typeof expression[path] == 'undefined') return;
predicates.push(function(value) {
- return search(path == '$' ? value : getter(value, path), expression[path]);
+ return search(path == '$' ? value : (value && value[path]), expression[path]);
});
})(key);
}