Skip to content

Commit

Permalink
fix(selector): Minor bug fix from prev commit
Browse files Browse the repository at this point in the history
  • Loading branch information
xtorret committed Dec 31, 2024
1 parent 742bc3f commit e793540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion updates/36/36017/ud/ddlview.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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 (sector_id > 0 or sector <-9)
where username = current_user and (s.sector_id > 0 or s.sector <-9)
union
SELECT distinct on (sector_id) s.sector_id,
s.name,
Expand Down

0 comments on commit e793540

Please sign in to comment.