Skip to content
Snippets Groups Projects
Commit 5badc930 authored by lain's avatar lain
Browse files

Search through both name and screen_name.

parent e1d61746
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,7 @@ const defaultCollection = {
menuContainer: document.body,
// column to search against in the object (accepts function or string)
lookup: 'name',
lookup: ({name, screen_name}) => `${name} (@${screen_name})`,
// column that contains the content to insert by default
fillAttr: 'screen_name',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment