Request all contacts when there is no filter

This commit is contained in:
Jesús García Sáez
2015-12-09 13:07:30 +01:00
parent 2e1bfb25d5
commit 1c8b693656

View File

@@ -24,6 +24,8 @@ function openContactsFolder(contactsFolder, reload, idx) {
if (searchValue && searchValue.length > 0)
url += ("&search=" + search["contacts"]["criteria"]
+ "&value=" + escape(searchValue.utf8encode()));
else
url += "&search=name_or_address&value=.";
var sortAttribute = sorting["attribute"];
if (sortAttribute && sortAttribute.length > 0)
url += ("&sort=" + sorting["attribute"]