Search through both name and screen_name.

This commit is contained in:
Roger Braun 2016-11-30 17:07:50 +01:00
parent e1d6174689
commit 5badc930c9
1 changed files with 1 additions and 1 deletions

View File

@ -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',