diff options
author | Matthew Somerville <matthew@mysociety.org> | 2019-08-09 12:36:15 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2019-08-09 12:36:17 +0100 |
commit | c708d6f2d30c5da1b603d227ba013c63c8673457 (patch) | |
tree | b230022738dfd6737e5e73c046438587364c70aa /t/app/controller/json.t | |
parent | 80131ff0362b161c8a3f082e6f81ea9ff1693402 (diff) |
Make sure existing attribute answers set up.
If you come to /report/new with a part-filled report (say you've gone
via an OAuth flow), then the stash needs to get the category from the
report, not a query parameter, and report_meta needs initializing, as
that is what the template uses to fill in existing attribute answers.
Diffstat (limited to 't/app/controller/json.t')
0 files changed, 0 insertions, 0 deletions