Skip to content

Commit

Permalink
Ignore unknown forms for elasticsearch case
Browse files Browse the repository at this point in the history
  • Loading branch information
proteusvacuum committed Jul 1, 2024
1 parent e3bfd41 commit 5985875
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion corehq/apps/app_manager/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,8 @@ def _all_forms(self):
if 'app' in form:
form['has_app'] = True
forms.append(form)
else:
elif not self.domain_object.exports_use_elasticsearch:
# If the elasticsearch toggle is on, we don't care about forms without apps
app_id = f['key'][1] or ''
form['app'] = {
'id': app_id
Expand Down

0 comments on commit 5985875

Please sign in to comment.