1
0
Fork 0
forked from srxl/akkoma-fe

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

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