Skip to content

Commit

Permalink
fix data query form validation
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvw committed Oct 5, 2023
1 parent 82f4e29 commit 7fde509
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ include AUTHORS CHANGES LICENSE VERSION
include MANIFEST.in
include *.rst
recursive-include edc_data_manager/templates *
include */locale/*/LC_MESSAGES/*.mo
3 changes: 2 additions & 1 deletion edc_data_manager/forms/data_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ def clean(self):
)

self.required_if_not_none(
field="visit_code",
field="visit_schedule",
field_required="visit_code_sequence",
field_required_evaluate_as_int=True,
)

# Site
Expand Down

0 comments on commit 7fde509

Please sign in to comment.