From d11cdd1f26f6ead31a4df6695ddc50a662e3b435 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 26 Feb 2026 03:53:03 -0700 Subject: [PATCH] Fix Recordings to remove the SQL domain_uuid is null --- app/recordings/recordings.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/recordings/recordings.php b/app/recordings/recordings.php index 1b1abbc5d3..78faed6a0d 100644 --- a/app/recordings/recordings.php +++ b/app/recordings/recordings.php @@ -302,11 +302,12 @@ //add the search term $search = $_REQUEST["search"] ?? ''; -//get total recordings from the database + +//get the total recordings from the database $sql = "select count(*) from v_recordings "; $sql .= "where true "; if ($show != "all" || !permission_exists('conference_center_all')) { - $sql .= "and (domain_uuid = :domain_uuid or domain_uuid is null) "; + $sql .= "and (domain_uuid = :domain_uuid) "; $parameters['domain_uuid'] = $domain_uuid; } if (!empty($search)) { @@ -356,7 +357,7 @@ $sql .= "from v_recordings "; $sql .= "where true "; if ($show != "all" || !permission_exists('conference_center_all')) { - $sql .= "and (domain_uuid = :domain_uuid or domain_uuid is null) "; + $sql .= "and (domain_uuid = :domain_uuid) "; $parameters['domain_uuid'] = $domain_uuid; } if (!empty($search)) {