From f56d193426986e247cfb5259e60562874167dc78 Mon Sep 17 00:00:00 2001 From: Andreas <6977712+AndreasK79@users.noreply.github.com> Date: Tue, 24 Jan 2023 11:36:14 +0100 Subject: [PATCH] [OQRS] Fixed filtering on station_id in OQRS Requests --- application/models/Oqrs_model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/models/Oqrs_model.php b/application/models/Oqrs_model.php index c6631bab..6c800ea4 100644 --- a/application/models/Oqrs_model.php +++ b/application/models/Oqrs_model.php @@ -260,7 +260,7 @@ class Oqrs_model extends CI_Model { $binding = [$searchCriteria['user_id']]; if ($searchCriteria['de'] !== '') { - $conditions[] = "station_profile.STATION_CALLSIGN = ?"; + $conditions[] = "station_profile.station_id = ?"; $binding[] = trim($searchCriteria['de']); } if ($searchCriteria['dx'] !== '') {