force_dot_search.patch

ContactUI.js patch to force dot search by default - Pierre Bourdin, 02/10/2015 08:31 AM

Download (673 Bytes)

View differences:

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"]