I have a requirement from a client to increase the number of results shown in the autocomplete dropdown from 10 to something higher. Although I could do this, it seems like a much more useful idea to add that functionality to this module. (These are taxonomy autocomplete settings, after all.)

My idea is to have an additional field per vocabulary where the admin can configure the number of results to be shown, with 10 as the default. It looks like this should be easy to extend.

Comments

rkeppner’s picture

Status: Active » Needs review
StatusFileSize
new3.82 KB

Here's a patch that adds the functionality described. I've tested it against 6.x-1.1 and HEAD, and it applies cleanly, and it's working for me in production.

rkeppner’s picture

Since this patch changes the user interface, I thought a screenshot might be useful.

 number of results patch changes screenshot

rkeppner’s picture

Version: 6.x-1.1 » 6.x-1.x-dev
Assigned: Unassigned » rkeppner
Status: Needs review » Fixed

I've had this running on 3 different production sites for a few days now, and I can't find any problems. Since it's simple enough to be unlikely to cause problems, I've created a development branch and promoted the code there.

rkeppner’s picture

Status: Fixed » Closed (fixed)

This feature is included in the 6.x-1.2 release.