Browse Source

[desktop] Remove hardcoded history filtering of the API

Romain Rigaux 9 years ago
parent
commit
0618c0a6a4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      desktop/core/src/desktop/api2.py

+ 1 - 1
desktop/core/src/desktop/api2.py

@@ -103,7 +103,7 @@ def get_documents(request):
     offset = (page - 1) * limit
     last = offset + limit
     documents = documents.all()[offset:last]
-  documents = documents.filter(is_history=True)
+
   return JsonResponse({
       'path': path,
       'directory': directory.to_dict(),