Skip to content

Commit 15c55ed

Browse files
committed
fix(broadcast): Исправление отображения ФИО
1 parent 0c0007e commit 15c55ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tgbot/dialogs/getters/common/broadcast.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from stp_database import Employee, MainRequestsRepo
66

77
from tgbot.misc.dicts import roles
8-
from tgbot.misc.helpers import format_fullname, strftime_date
8+
from tgbot.misc.helpers import format_fullname, short_name, strftime_date
99

1010

1111
async def broadcast_select_getter(
@@ -45,7 +45,7 @@ async def broadcast_select_getter(
4545

4646
items = []
4747
for head in heads:
48-
display_name = format_fullname(head, True, True)
48+
display_name = short_name(head)
4949
items.append((head.id, display_name))
5050

5151
# Получаем уникальные направления руководителей для фильтрации

0 commit comments

Comments
 (0)