Skip to content

Commit

Permalink
feat(set_selectors): Enhance usability when unselect registres in ord…
Browse files Browse the repository at this point in the history
…er to do not trigger cross-relation for different mapzones
  • Loading branch information
xtorret committed Sep 18, 2024
1 parent d975586 commit a250811
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/fct/gw_fct_setselectors.sql
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,8 @@ BEGIN

-- manage cross-reference tables
select count(*) into v_count from node;
if v_count > 0 then

if v_count > 0 and (v_value::boolean is true or v_checkall is true or v_checkall is false) then

-- inserting sector & muni from selected exploitaiton
IF v_tabname IN ('tab_exploitation', 'tab_macroexploitation') THEN
Expand Down

0 comments on commit a250811

Please sign in to comment.