force_dot_search.patch
| ContactsUI.js 2015-02-10 14:26:35.456848468 +0100 | ||
|---|---|---|
| 22 | 22 |
if (searchValue && searchValue.length > 0) |
| 23 | 23 |
url += ("&search=" + search["contacts"]["criteria"]
|
| 24 | 24 |
+ "&value=" + escape(searchValue.utf8encode())); |
| 25 |
// Begin patch for search all by default, dot char |
|
| 26 |
else if (currentFolderIsRemote()) |
|
| 27 |
url += ("&search=name_or_address"
|
|
| 28 |
+ "&value=."); |
|
| 29 |
// End of patch |
|
| 25 | 30 |
var sortAttribute = sorting["attribute"]; |
| 26 | 31 |
if (sortAttribute && sortAttribute.length > 0) |
| 27 | 32 |
url += ("&sort=" + sorting["attribute"]
|