From 5a511eeadffe1d9572cb80c9c152be483e3813a0 Mon Sep 17 00:00:00 2001 From: developer Date: Fri, 24 Apr 2026 11:32:37 +0800 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20=D0=B2=D1=8B=D0=B2=D0=BE=D0=B4=20=D1=81=D0=B2=D0=B5?= =?UTF-8?q?=D0=B4=D0=B5=D0=BD=D0=B8=D0=B9=20=D0=BE=20=D0=B6=D0=BA=20=D0=B2?= =?UTF-8?q?=20=D1=82=D0=B0=D0=B1=D0=BB=D0=B8=D1=86=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Livewire/ClientsTable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Livewire/ClientsTable.php b/app/Livewire/ClientsTable.php index 840bbcc..c5b9c53 100644 --- a/app/Livewire/ClientsTable.php +++ b/app/Livewire/ClientsTable.php @@ -133,11 +133,11 @@ function getClients() public function render() { $clients = $this->getClients(); + $clients->groupBy('users.id','users.name','users.phone','users.email'); if ($this->clientsCount != $clients->count()) { $this->clientsCount = $clients->count(); $this->currentPage = 1; }; - $clients->groupBy('users.id','users.name','users.phone','users.email'); $clients = $clients->skip(($this->currentPage - 1) * $this->count)->take($this->count)->get(); return view( 'livewire.clients-table',