Commit c7ff8611 authored by Matheus Miranda's avatar Matheus Miranda
Browse files

Fix ordering for actor actions

parent 31b57699
......@@ -39,7 +39,7 @@ Its possible to log `user-access` by sending a POST request to `/api/stats/user-
Note: available areas must be created via Django Admin previously: `<HOST>/django/admin/stats/accessiblearea/`
To log generic activities, send a POST request to `/api/user-actions/`.
To log generic activities, send a POST request to `/api/stats/user-actions/`.
```json
{
"verb": "created comment",
......
......@@ -356,7 +356,7 @@ class UserAccessView(views.APIView):
user_id = request.GET['user']
user = User.objects.get(id=user_id)
actions = user.actor_actions.all()
actions = user.actor_actions.all().order_by('timestamp')
last_login = ''
last_access = ''
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment