From 348ba65c6e5e836ac56803ca5de832818c1866a9 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Wed, 2 Dec 2015 16:43:06 -0500 Subject: [PATCH] (js) Restore dot search in Contacts module --- UI/Templates/ContactsUI/UIxContactFoldersView.wox | 2 +- UI/WebServerResources/js/Common/sgSearch.directive.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/UI/Templates/ContactsUI/UIxContactFoldersView.wox b/UI/Templates/ContactsUI/UIxContactFoldersView.wox index 056b1d7fd..9e8e320de 100644 --- a/UI/Templates/ContactsUI/UIxContactFoldersView.wox +++ b/UI/Templates/ContactsUI/UIxContactFoldersView.wox @@ -284,7 +284,7 @@ arrow_back - + diff --git a/UI/WebServerResources/js/Common/sgSearch.directive.js b/UI/WebServerResources/js/Common/sgSearch.directive.js index 855fa84dd..2e24bb42a 100644 --- a/UI/WebServerResources/js/Common/sgSearch.directive.js +++ b/UI/WebServerResources/js/Common/sgSearch.directive.js @@ -112,7 +112,7 @@ vm.onChange = function() { if (typeof vm.searchText !== 'undefined' && vm.searchText !== null) { if (vm.searchText != vm.previous.searchText || vm.searchField != vm.previous.searchField) { - if (vm.searchText.length > 2 || vm.searchText.length === 0) { + if (vm.searchText.length > 2 || vm.searchText.length === 0 || vm.searchText == '.') { // doSearch is the compiled expression of the sg-search attribute vm.doSearch($scope, { searchText: vm.searchText, searchField: vm.searchField }); }