Conversation
… entries that do not have a court case page but reference other court cases
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #6966 +/- ##
===========================================
+ Coverage 79.58% 79.79% +0.21%
===========================================
Files 254 255 +1
Lines 6406 6474 +68
===========================================
+ Hits 5098 5166 +68
Misses 1308 1308 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Note for myself, cc @johnnyporkchops : After merging the rulemaking CMS PR into develop, the latest migration in home becomes On this PR, I'll need to:
Django should generate a fresh |
This is done |
Summary
Resolves #6965
Resolves #6963
This PR makes several improvements to the court case index page:
cross_referencesStreamField toCourtCaseIndexPagethat allows editors to create plain-text index entries (e.g., "Miller: FEC v.") with "See:" links pointing to existingCourtCasePageinstances. This supports cases where the alternate name/title does not have its own court case page but should still appear in the alphabetically-sorted index.search_fieldstoCourtCasePageso editors can search for cases by title when using the page chooser in the new cross-reference StreamField.Required reviewers
1 engineer
1 content
Impacted areas of the application
/legal/court-cases/)CourtCaseIndexPageScreenshots
Cross reference feature
Before: No cross-reference entries exist; alternate names with no page are absent from the index.
After: Cross-reference entries appear as plain text with a "See:" line linking to the referenced case pages, sorted alphabetically alongside normal entries.
Case number sort
How to test
"Wagner: FEC v.") and selecting one or more court case pages for the "See also cases" field.See: <linked case title(s)>.