|
|
|
@ -47,8 +47,8 @@ class Recovery extends Controller |
|
|
|
|
{ |
|
|
|
|
$recovery_name = $this->request->post('recovery_name'); |
|
|
|
|
$category_id = intval($this->request->post('category_id')); |
|
|
|
|
$order_field = $this->request->post('order_field'); |
|
|
|
|
$order_sort = $this->request->post('order_sort', 'desc'); |
|
|
|
|
$order_field = (string)$this->request->post('order_field'); |
|
|
|
|
$order_sort = (string)$this->request->post('order_sort', 'desc'); |
|
|
|
|
$where = []; |
|
|
|
|
if ($recovery_name) { |
|
|
|
|
$where[] = ['server_recovery.recovery_name', 'like', "%$recovery_name%"]; |
|
|
|
|