Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workaround changed behavior of DAFileList #278

Merged
merged 1 commit into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading