Skip to content

Commit

Permalink
longer event name
Browse files Browse the repository at this point in the history
  • Loading branch information
bryan-brancotte committed Aug 25, 2023
1 parent 298b8e6 commit 3ee2d2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ifbcat_api/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -584,9 +584,9 @@ def get_queryset(self, request):
)

def short_name_or_name_trim(self, obj):
if len(obj.short_name_or_name) <= 67:
if len(obj.short_name_or_name) <= 99:
return obj.short_name_or_name
return "%.64s..." % obj.short_name_or_name
return "%.96s..." % obj.short_name_or_name

short_name_or_name_trim.short_description = "Name"
short_name_or_name_trim.admin_order_field = 'short_name_or_name'
Expand Down

0 comments on commit 3ee2d2f

Please sign in to comment.