this results in having a blank entry in the autocomplete popdown which doesn't make sense.

this was discovered when confirming the other bug of adding a / to the autocomplete textfield. When adding JUST a / it will show users and a blank entry.

this patch doesn't allow the autocomplete query to perform if the string is empty causing the callback to return an empty object which is proper.

CommentFileSizeAuthor
user_anon.patch966 bytesAnonymous (not verified)

Comments

Anonymous’s picture

steven and I discussed this one btw.

Steven’s picture

Status: Needs review » Fixed

Good catch. Committed to HEAD.

Steven’s picture

Version: 5.x-dev » 4.7.x-dev
Status: Fixed » Patch (to be ported)
killes@www.drop.org’s picture

Status: Patch (to be ported) » Fixed

applied

Anonymous’s picture

Status: Fixed » Closed (fixed)