summaryrefslogtreecommitdiff
path: root/public/js/app.js
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-07-01 12:02:00 +0200
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-07-01 12:02:00 +0200
commit14363079481d3a985060820225b571aefd0e4a04 (patch)
tree8e226e860839bbfd518149eb2ce1db9e1ce1aec9 /public/js/app.js
parent9f23443a86ad145c2739ac289e42ac0f13ef0929 (diff)
Added a reverse lookup switch. closes #295
Diffstat (limited to 'public/js/app.js')
-rw-r--r--public/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/app.js b/public/js/app.js
index 5560ae7..e389b9a 100644
--- a/public/js/app.js
+++ b/public/js/app.js
@@ -41,7 +41,7 @@ App.SwitchboardController = Ember.ObjectController.extend({
searchResults: function() {
var searchText = this.get('searchText');
if (!searchText) { return; }
- return App.PhoneBookEntry.find({ query: searchText });
+ return App.PhoneBookEntry.find({ query: searchText, switchboard_id: switchboard_id });
}.property('searchText')
});