Skip to content

Commit

Permalink
Updating null type check
Browse files Browse the repository at this point in the history
  • Loading branch information
VineetBala-AOT committed Jul 13, 2023
1 parent 527d46a commit d95dcec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def get_survey_result(
.filter(and_(RequestTypeOption.survey_id.in_(analytics_survey_id),
RequestTypeOption.is_active == true(),
or_(RequestTypeOption.display == true(),
RequestTypeOption.display is None)))
RequestTypeOption.display.is_(None))))
.order_by(RequestTypeOption.position)
.subquery())

Expand Down

0 comments on commit d95dcec

Please sign in to comment.