From 8ffcb20e8e2e9d1b7388d3bfee4562d93341cad5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eero=20J=C3=A4=C3=A4skel=C3=A4inen?= Date: Mon, 18 Mar 2024 14:36:59 +0200 Subject: [PATCH] Fixed wrong args passed to Service sort in delete --- application/models/Services_model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/models/Services_model.php b/application/models/Services_model.php index c1fd6f52..81176852 100644 --- a/application/models/Services_model.php +++ b/application/models/Services_model.php @@ -205,7 +205,7 @@ class Services_model extends EA_Model public function delete(int $service_id): void { $this->db->delete('services', ['id' => $service_id]); - $this->sort_column('row_order'); + $this->sort_column('services'); } /**