More intelligent ordering of autocomplete search results
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 11 Sep 2009 20:26:36 +0000 (14:26 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 11 Sep 2009 20:28:48 +0000 (14:28 -0600)
commit2d946f0298dbd49bbc68c0801aef5e64fd5dbeed
tree0ca93f15d0806d6e80a46862c83a12fa806b3321
parent9a130972373d253217f5e7e98396b5551ff729f9
More intelligent ordering of autocomplete search results

Uses the php levenshtein() function.
This only works with results from the server (not autocomplete results
done via the js code).
Might change this in the future to a QuickSilver inspired sort (see,
e.g., http://github.com/rmm5t/liquidmetal) since this would result in a
sort order that is consistent if done either server-side or
browser-side.
imp/docs/CHANGES
imp/lib/Ajax/Imple/ContactAutoCompleter.php
imp/lib/Compose.php