Closed longhotsummer closed 1 week ago
48 tests 48 :white_check_mark: 11s :stopwatch: 13 suites 0 :zzz: 13 files 0 :x:
Results for commit ae59d108.
:recycle: This comment has been updated with latest results.
@actlikewill this is ready for review
This pull request was deployed and Sentry observed the following issues:
peachjam.migrations.0152_backfill_natures in fo...
View Issue/judgments/{code}/{registry_code}/
View IssueDid you find this useful? React with a 👍 or 👎
This ensures that all documents have a descriptive nature, even those without a subtype. For example, all Legislation objects now default to "Act". This means we can rely on the nature as a database-indexed description of the type of every document.
This makes it possible to facet on the nature. Before, we had to facet on a weird mixture of doc_type and nature.
In future, nature will be preferred over doc_type in search results. But we need to backfill the nature field in ES for that to work.
Other:
(value, label)
tuples so that labels can be different to values and can take translation into accountfixtures/documents/sample_documents.json
so it's easier to manageExample by-law listing:
Example general legislation listing:
Outstanding
doc_type
with search