Reverting to previous one as this is related to another issue

This commit is contained in:
Devansh 2020-07-16 13:07:46 +05:30
parent 21596b189d
commit 31af7220cf
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ class ProductRepository extends Repository
$perPage = isset($params['limit']) ? $params['limit'] : current($pages);
} else {
$perPage = isset($params['limit']) && !empty($params['limit']) ? $params['limit'] : 9;
$perPage = isset($params['limit']) ? $params['limit'] : 9;
}
$page = Paginator::resolveCurrentPage('page');