The current implementation of the autocomplete fields have hardcoded values of 10 for a limit. This patch changes this and adds variables user_reference_autocomplete_limit and node_reference_autocomplete_limit which default to 10. This means that other modules can override this limit, and the current implementation is not affected.

Files: 
CommentFileSizeAuthor
#2 references-1423682-2.patch3.91 KBDmitriy.trt
PASSED: [[SimpleTest]]: [MySQL] 40 pass(es).
[ View ]
references-limit-override.patch1.16 KBacbramley
PASSED: [[SimpleTest]]: [MySQL] 40 pass(es).
[ View ]

Comments

Status:Active» Needs work

This would rather make sense as a widget setting on the autocomplete widgets.

As explained in the project page, the References project is deprecated in favor of Entity Reference, and is mostly in 'bugfix only' mode.
I would probably commit a patch, but won't work on this myself.

Status:Needs work» Needs review
StatusFileSize
new3.91 KB
PASSED: [[SimpleTest]]: [MySQL] 40 pass(es).
[ View ]

Patch adds limit option to both autocomplete widgets.

#2 looks great!

Assigned:Unassigned» Alex Andrascu