Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
search_pill: Replace user display_value with full_name.
evykassirer09f4f787b804
diff --git a/web/src/search_pill.ts b/web/src/search_pill.tsindex c7dfa7cb8be..533e162ae2e 100644--- a/web/src/search_pill.ts+++ b/web/src/search_pill.ts@@ -18,7 +18,7 @@ export type SearchUserPill = {operator: string;negated: boolean;users: {- display_value: string;+ full_name: string;user_id: number;email: string;img_src: string;@@ -95,7 +95,7 @@ function append_user_pill(operator,negated,users: users.map((user) => ({- display_value: user.full_name,+ full_name: user.full_name,user_id: user.user_id,email: user.email,img_src: people.small_avatar_url_for_person(user),diff --git a/web/templates/search_user_pill.hbs b/web/templates/search_user_pill.hbsindex 6a5ba322a32..8134da9dae3 100644--- a/web/templates/search_user_pill.hbs+++ b/web/templates/search_user_pill.hbs@@ -7,7 +7,7 @@<div class="pill{{#if deactivated}} deactivated-pill{{/if}}" data-user-id="{{this.user_id}}"><img class="pill-image" src="{{this.img_src}}" /><span class="pill-label">- <span class="pill-value">{{ this.display_value }}</span>+ <span class="pill-value">{{ this.full_name }}</span>{{~#if this.should_add_guest_user_indicator}} <i>({{t 'guest'}})</i>{{~/if~}}{{~#if deactivated}} ({{t 'deactivated'}}){{~/if~}}{{~#if this.status_emoji_info~}}