Skip to content

Commit 9a0e111

Browse files
authored
Merge pull request #633 from tobiasge/fix-540
Set filter_logic from YAML file
2 parents a206ad6 + 2b4c058 commit 9a0e111

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

startup_scripts/020_custom_fields.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ def get_class_for_class_path(class_path):
4242
if cf_details.get("type", False):
4343
custom_field.type = cf_details["type"]
4444

45+
if cf_details.get("filter_logic", False):
46+
custom_field.filter_logic = cf_details["filter_logic"]
47+
4548
if cf_details.get("weight", -1) >= 0:
4649
custom_field.weight = cf_details["weight"]
4750

0 commit comments

Comments
 (0)