The sql query does not handle the case where multiple nodes have duplicate content. This patch ads `DISTINCT` to the query.

Additionally, the results are sorted by the match's length to give more relevant results.

CommentFileSizeAuthor
cck_autocomplete_distinct.patch805 bytesjpsalter