From e023cc979b067fb7c824c31fe297c65458034a91 Mon Sep 17 00:00:00 2001 From: Darron Park Date: Fri, 9 Mar 2018 21:37:05 +0900 Subject: [PATCH] Fix issue #487 (allWithBuilder error) --- Modules/Core/Repositories/Eloquent/EloquentBaseRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Core/Repositories/Eloquent/EloquentBaseRepository.php b/Modules/Core/Repositories/Eloquent/EloquentBaseRepository.php index 655abc630..ff751f94c 100644 --- a/Modules/Core/Repositories/Eloquent/EloquentBaseRepository.php +++ b/Modules/Core/Repositories/Eloquent/EloquentBaseRepository.php @@ -59,7 +59,7 @@ public function allWithBuilder() : Builder return $this->model->with('translations'); } - return $this->model; + return $this->model->query(); } /**