From b7fce955ac21462ac7c883737980519b016f85c6 Mon Sep 17 00:00:00 2001 From: Ibnu Maksum Date: Mon, 9 Sep 2024 14:01:55 +0700 Subject: [PATCH] chenge _post to _get --- system/controllers/customers.php | 8 ++++---- ui/ui/customers.tpl | 2 +- ui/ui/dashboard.tpl | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/system/controllers/customers.php b/system/controllers/customers.php index c38d3461..c2c9c68c 100644 --- a/system/controllers/customers.php +++ b/system/controllers/customers.php @@ -673,10 +673,10 @@ switch ($action) { default: run_hook('list_customers'); #HOOK - $search = _post('search'); - $order = _post('order', 'username'); - $filter = _post('filter', 'Active'); - $orderby = _post('orderby', 'asc'); + $search = _req('search'); + $order = _req('order', 'username'); + $filter = _req('filter', 'Active'); + $orderby = _req('orderby', 'asc'); $order_pos = [ 'username' => 0, 'created_at' => 8, diff --git a/ui/ui/customers.tpl b/ui/ui/customers.tpl index f4434ccb..7829ffcd 100644 --- a/ui/ui/customers.tpl +++ b/ui/ui/customers.tpl @@ -29,7 +29,7 @@
- Order    + Order