# In search result drop box: add given name next to username

**URL:** <https://meta.discourse.org/t/in-search-result-drop-box-add-given-name-next-to-username/48735>\
**Category:** UX\
**Created:** [17 Agosto 2016, 1:07pm UTC](https://meta.discourse.org/t/in-search-result-drop-box-add-given-name-next-to-username/48735 "2016-08-17T13:07:25Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![rriemann](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rriemann/32/115238_2.png) [@rriemann](https://meta.discourse.org/u/rriemann)\
**Post date:** [22 Agosto 2016, 10:24am UTC](https://meta.discourse.org/t/in-search-result-drop-box-add-given-name-next-to-username/48735/4 "2016-08-22T10:24:23Z")

</div>

Thanks for your suggestions.

> [@fantasticfears](#):
>
> Try console.log(u) in that function so that you can see what’s in the u. You could access name by u.name there

I tried so, but it doesn’t work:

 ![](https://global.discourse-cdn.com/meta/original/3X/1/b/1b2bf96ea5390df576a1ec1865890e028330e9e4.png)

There is no `u.name`. 😞 I made sure to have enabled names. In the rails console, `SiteSetting.enable_names?` gives true.

---

_[View the full topic](https://meta.discourse.org/t/in-search-result-drop-box-add-given-name-next-to-username/48735)._
