--- a/server/src/app/Repositories/DocumentRepository.php Sun Oct 09 11:44:18 2016 +0200
+++ b/server/src/app/Repositories/DocumentRepository.php Tue Oct 11 02:49:59 2016 +0200
@@ -21,6 +21,17 @@
public function paginateAll($perPage = 15, $pageName = 'page', $page = null);
/**
+ * Paginate filtered document as a paginator.
+ *
+ * @param array $filters
+ * @param int $perPage
+ * @param string $pageName
+ * @return \Illuminate\Contracts\Pagination\LengthAwarePaginator
+ */
+ public function paginate($filters = [], $perPage = 15, $pageName = 'page', $page = null, $sort = null);
+
+
+ /**
* Resolve lexvo id for all documents in the list
* this allow to optimise the call of lexvo repository
*/