Commit 000fb0ce authored by John Red Medrano's avatar John Red Medrano

Merge pull request #717 in RMS/api-main-service from red-develop to product-dev

* commit 'e03eba47':
  fixing recent_companies
parents 249c7442 e03eba47
......@@ -113,7 +113,7 @@ class RMSDashBoardViewSet(APIView):
else:
company_count = Company.objects.count()
companies = Company.objects.all()[0:10]
companies = Company.objects.all().order_by('-created')[0:10]
department_count = Department.objects.count()
user_count = User.objects.all().count()
......
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