We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eace940 commit d7a8243Copy full SHA for d7a8243
tgbot/dialogs/getters/common/search.py
@@ -19,6 +19,7 @@
19
format_fullname,
20
get_role,
21
get_status_emoji,
22
+ short_name,
23
strftime_date,
24
)
25
@@ -77,7 +78,7 @@ async def search_specialists_getter(
77
78
role_info = get_role(specialist.role)
79
formatted_specialists.append((
80
specialist.id,
- format_fullname(specialist, True, True),
81
+ short_name(specialist.fullname),
82
role_info["emoji"],
83
))
84
@@ -127,7 +128,7 @@ async def search_heads_getter(
127
128
role_info = get_role(head.role)
129
formatted_heads.append((
130
head.id,
- format_fullname(head, True, True),
131
+ short_name(head.fullname),
132
133
134
0 commit comments