From 7cc521661ed8e47e92ac516228759bee12a07b14 Mon Sep 17 00:00:00 2001 From: Xavier Torret Date: Tue, 31 Dec 2024 18:48:55 +0100 Subject: [PATCH] fix(selector): Minor bug fix from prev commit --- updates/36/36017/ud/ddlview.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updates/36/36017/ud/ddlview.sql b/updates/36/36017/ud/ddlview.sql index 888de1896..437bf3b5f 100644 --- a/updates/36/36017/ud/ddlview.sql +++ b/updates/36/36017/ud/ddlview.sql @@ -1014,7 +1014,7 @@ SELECT distinct on (sector_id) s.sector_id, JOIN config_user_x_expl USING (expl_id) LEFT JOIN macrosector m USING (macrosector_id) LEFT JOIN edit_typevalue et ON et.id::text = s.sector_type::text AND et.typevalue::text = 'sector_type'::text - where username = current_user and (s.sector_id > 0 or s.sector <-9) + where username = current_user and (s.sector_id > 0 or s.sector_id <-9) union SELECT distinct on (sector_id) s.sector_id, s.name,