From 6df770697a8dde67999983ea3fdb1b3fb5139472 Mon Sep 17 00:00:00 2001 From: Louis Charette Date: Tue, 22 Mar 2022 22:24:41 -0400 Subject: [PATCH] (Bad commit was bad) --- app/src/Database/Relations/Concerns/Unique.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/Database/Relations/Concerns/Unique.php b/app/src/Database/Relations/Concerns/Unique.php index 3fa9c93f..1b8ac6cc 100644 --- a/app/src/Database/Relations/Concerns/Unique.php +++ b/app/src/Database/Relations/Concerns/Unique.php @@ -296,7 +296,7 @@ public function getPaginatedQuery(Builder $query, $limit = null, $offset = null) } $primaryKeyName = $this->getParent()->getKeyName(); - $modelIds = $constrainedBuilder->get()->pluck($primaryKeyName)->toArray(); + // $sql = $constrainedBuilder->toSql(); $modelIds = $constrainedBuilder->get() ->pluck($primaryKeyName) ->toArray();