Call Flows - List: Fix search.

This commit is contained in:
fusionate 2023-06-02 00:04:55 +00:00
parent 0849bf51a0
commit 4e0713bb18
No known key found for this signature in database
1 changed files with 4 additions and 2 deletions

View File

@ -17,7 +17,7 @@
The Initial Developer of the Original Code is The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com> Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2008-2020 Portions created by the Initial Developer are Copyright (C) 2008-2023
the Initial Developer. All Rights Reserved. the Initial Developer. All Rights Reserved.
Contributor(s): Contributor(s):
@ -52,10 +52,12 @@
//set from session variables //set from session variables
$list_row_edit_button = !empty($_SESSION['theme']['list_row_edit_button']['boolean']) ? $_SESSION['theme']['list_row_edit_button']['boolean'] : 'false'; $list_row_edit_button = !empty($_SESSION['theme']['list_row_edit_button']['boolean']) ? $_SESSION['theme']['list_row_edit_button']['boolean'] : 'false';
//get search
$search = $_REQUEST['search'] ?? null;
//get posted data //get posted data
if (!empty($_POST['call_flows'])) { if (!empty($_POST['call_flows'])) {
$action = $_POST['action']; $action = $_POST['action'];
$search = $_POST['search'];
$call_flows = $_POST['call_flows']; $call_flows = $_POST['call_flows'];
$toggle_field = $_POST['toggle_field']; $toggle_field = $_POST['toggle_field'];
} }