Skip to content

Commit

Permalink
Merge pull request #278 from GBLS/bug-ntq-pictures-i
Browse files Browse the repository at this point in the history
Workaround changed behavior of DAFileList
  • Loading branch information
nonprofittechy authored Oct 8, 2024
2 parents e006946 + 404292b commit b1f4756
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docassemble/MAEvictionDefense/data/questions/eviction.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2867,10 +2867,10 @@ subquestion: |
you can upload a picture of them now. If it's not easy to do this now,
you can skip this step.
fields:
- Upload or take a picture of any paperwork you want GBLS to review: ntq_pictures[i]
datatype: file
- Upload or take a picture of any paperwork you want GBLS to review: ntq_pictures
datatype: files
required: False
list collect: True
#list collect: True
---
id: intake facts
question: |
Expand Down
4 changes: 2 additions & 2 deletions docassemble/MAEvictionDefense/data/questions/eviction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ objects:
- additional_tenants: DAList.using(object_type=Individual)
- household: DAList.using(object_type=Individual)
- incomes: IncomeList.using(there_are_any=True)
- ntq_pictures: DAFileList.using(there_are_any = True)
#- ntq_pictures: DAFileList.using(there_are_any = True)
- landlord: Person
- landlords_attorney: Person
- court: MACourt
Expand Down Expand Up @@ -359,7 +359,7 @@ code: |
household.gather()
incomes.gather()
tenant.gender
ntq_pictures.gather()
ntq_pictures
intake_additional_information
# view_intake
asked_intake_questions = True

0 comments on commit b1f4756

Please sign in to comment.