mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-06-23 19:11:30 +02:00
Use default str for displaying kbitems in filter view
This commit is contained in:
parent
3d7860b5a3
commit
28531144db
@ -942,7 +942,7 @@ def ticket_list(request):
|
|||||||
'<a href="http://docs.djangoproject.com/en/dev/ref/databases/#sqlite-string-matching">'
|
'<a href="http://docs.djangoproject.com/en/dev/ref/databases/#sqlite-string-matching">'
|
||||||
'Django Documentation on string matching in SQLite</a>.')
|
'Django Documentation on string matching in SQLite</a>.')
|
||||||
|
|
||||||
kbitem_choices = [(item.pk, item.title) for item in KBItem.objects.all()]
|
kbitem_choices = [(item.pk, str(item)) for item in KBItem.objects.all()]
|
||||||
|
|
||||||
return render(request, 'helpdesk/ticket_list.html', dict(
|
return render(request, 'helpdesk/ticket_list.html', dict(
|
||||||
context,
|
context,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user