diff options
| author | Roger Braun <roger@rogerbraun.net> | 2016-11-30 17:07:50 +0100 |
|---|---|---|
| committer | Roger Braun <roger@rogerbraun.net> | 2016-11-30 17:07:50 +0100 |
| commit | 5badc930c9c691b52ab0a4b3aaf76e2855cc891c (patch) | |
| tree | 2924a2ea822b95ced2a795a45feabcd2b123a347 /src | |
| parent | e1d61746892e5bdd8c0dd92a4704336b3efdb7e4 (diff) | |
Search through both name and screen_name.
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/post_status_form/post_status_form.js | 2 |
1 files changed, 1 insertions, 1 deletions
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', |
