mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-20 04:19:35 +00:00
Request all contacts when there is no filter
This commit is contained in:
@@ -24,6 +24,8 @@ function openContactsFolder(contactsFolder, reload, idx) {
|
|||||||
if (searchValue && searchValue.length > 0)
|
if (searchValue && searchValue.length > 0)
|
||||||
url += ("&search=" + search["contacts"]["criteria"]
|
url += ("&search=" + search["contacts"]["criteria"]
|
||||||
+ "&value=" + escape(searchValue.utf8encode()));
|
+ "&value=" + escape(searchValue.utf8encode()));
|
||||||
|
else
|
||||||
|
url += "&search=name_or_address&value=.";
|
||||||
var sortAttribute = sorting["attribute"];
|
var sortAttribute = sorting["attribute"];
|
||||||
if (sortAttribute && sortAttribute.length > 0)
|
if (sortAttribute && sortAttribute.length > 0)
|
||||||
url += ("&sort=" + sorting["attribute"]
|
url += ("&sort=" + sorting["attribute"]
|
||||||
|
|||||||
Reference in New Issue
Block a user