mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-25 01:13:31 +01:00
Corrected date_created field to current created field as it exists in models.py
This commit is contained in:
parent
39d810778a
commit
d3cb9fdf23
@ -163,7 +163,7 @@ class __Query__:
|
||||
to a Serializer called DatatablesTicketSerializer in serializers.py.
|
||||
"""
|
||||
objects = self.get()
|
||||
order_by = '-date_created'
|
||||
order_by = '-created'
|
||||
draw = int(kwargs.get('draw', [0])[0])
|
||||
length = int(kwargs.get('length', [25])[0])
|
||||
start = int(kwargs.get('start', [0])[0])
|
||||
|
Loading…
Reference in New Issue
Block a user