소스 검색

[desktop] Remove hardcoded history filtering of the API

Romain Rigaux 9 년 전
부모
커밋
0618c0a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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(),