On line 917 of nodereference.module, the number of items being displayed in the autocomplete field seems to be hard-coded

$references = _nodereference_potential_references($field, $string, $match, array(), 10);

Couldn't this easily be made configurable?

Thanks in advance

Comments

markus_petrux’s picture

Version: 6.x-2.6 » 7.x-2.x-dev
Status: Active » Postponed (maintainer needs more info)

I haven't tried this myself, and I'm not sure how changing this value may affect the autocomplete code in the client-side. So, this needs a patch and testing. The same feature would have to be included in user reference fields, and I would event say coded for the D7 branch of those modules, and then backported to D6.

DeFr’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

Duplicate of #505272: The result of autocomplete does not include all that is older and has a lot more discussion.