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 0c0007e commit 15c55edCopy full SHA for 15c55ed
tgbot/dialogs/getters/common/broadcast.py
@@ -5,7 +5,7 @@
5
from stp_database import Employee, MainRequestsRepo
6
7
from tgbot.misc.dicts import roles
8
-from tgbot.misc.helpers import format_fullname, strftime_date
+from tgbot.misc.helpers import format_fullname, short_name, strftime_date
9
10
11
async def broadcast_select_getter(
@@ -45,7 +45,7 @@ async def broadcast_select_getter(
45
46
items = []
47
for head in heads:
48
- display_name = format_fullname(head, True, True)
+ display_name = short_name(head)
49
items.append((head.id, display_name))
50
51
# Получаем уникальные направления руководителей для фильтрации
0 commit comments