forked from extern/django-helpdesk
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