Skip to content

Commit

Permalink
fix: bug
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-filicetti committed Oct 12, 2023
1 parent e033055 commit 391a7dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uniticket/uni_ticket/views/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ def dashboard(request):
# unassigned.append(nc)
unassigned += 1
# closed = tickets.filter(is_closed=True).count()
ticket_codes = not_closed.values_list('ticket__code', flat=True).distinct()
ticket_codes = not_closed.values_list('code', flat=True).distinct()
messages = TicketReply.get_unread_messages_count(
ticket_codes=ticket_codes, by_operator=True)

Expand Down

0 comments on commit 391a7dc

Please sign in to comment.