Skip to content

Commit 855d7f4

Browse files
jhfclaude
andcommitted
fix: Correct inverted archived→enabled logic in custom scripts
archived=TRUE meant "hidden", so the replacement must be enabled=FALSE. Four files had the boolean inverted, making hidden ident types visible. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 42caaff commit 855d7f4

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

custom/al.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ BEGIN
1616

1717
--al no need for stat ident
1818
UPDATE external_ident_type
19-
SET enabled = TRUE
19+
SET enabled = FALSE
2020
WHERE id = 2;
2121

2222

custom/jo.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ BEGIN
2929

3030
-- Archive default ones not needed
3131
UPDATE external_ident_type
32-
SET enabled = TRUE
32+
SET enabled = FALSE
3333
WHERE id <= 2;
3434

3535

custom/ke.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ BEGIN
2525
--tbc wont need any of the originals in KE
2626
--hiding tax_ident and stat_ident --this is a problem ??
2727
UPDATE external_ident_type
28-
SET enabled = TRUE
28+
SET enabled = FALSE
2929
WHERE id <= 2;
3030

3131

custom/ma.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ BEGIN
2828

2929
-- hide stat_ident
3030
UPDATE external_ident_type
31-
SET enabled = TRUE
31+
SET enabled = FALSE
3232
WHERE code = 'stat_ident';
3333

3434

0 commit comments

Comments
 (0)