From 5badc930c9c691b52ab0a4b3aaf76e2855cc891c Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Wed, 30 Nov 2016 17:07:50 +0100 Subject: Search through both name and screen_name. --- src/components/post_status_form/post_status_form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js index 650a9264..6d70bd6a 100644 --- a/src/components/post_status_form/post_status_form.js +++ b/src/components/post_status_form/post_status_form.js @@ -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', -- cgit v1.2.3-70-g09d2