From 6195368dfc43943fa31a58ef1381d69a93c99307 Mon Sep 17 00:00:00 2001 From: jekkos Date: Mon, 6 Jan 2025 23:47:44 +0100 Subject: [PATCH] Fix person suggestion (#4142) --- app/Controllers/Persons.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Controllers/Persons.php b/app/Controllers/Persons.php index 351515c82..6e9489652 100644 --- a/app/Controllers/Persons.php +++ b/app/Controllers/Persons.php @@ -35,7 +35,7 @@ abstract class Persons extends Secure_Controller */ public function getSuggest(): void { - $search = $this->request->getPost('term'); + $search = $this->request->getGet('term'); $suggestions = $this->person->get_search_suggestions($search); echo json_encode($suggestions);