fix(stats): fix radio presets query

This commit is contained in:
Enot (ded) Skelly committed 2026-06-10 13:46:21 -07:00
1 parent 205eaafbe9
commit ef5257db66
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -741,7 +741,7 @@ LIMIT $3;
SELECT preset, iata, source_type, count
FROM mv_radio_presets
WHERE ($1::text = '' OR preset = $1::text)
AND ($2::text = '' OR po.iata = ANY(string_to_array($2::text, ',')))
AND ($2::text = '' OR iata = ANY(string_to_array($2::text, ',')))
ORDER BY preset, iata, source_type;
-- name: GetScopeStats :many