From bdcf67a1051963f03faa0ad3ea47827790822875 Mon Sep 17 00:00:00 2001 From: Chad Weider Date: Wed, 16 Oct 2024 18:03:35 -0700 Subject: [PATCH] feat(api): add `citation_string` as a `CourtFilter` filter field The Bluebook's court abbreviations are fairly close to an identifier. While there's a suggestion that they may not be stable[1], they are still useful, especially when a caller is working from a citation. [1] Fred Jacob, Even the Federal Government Can't Beat The Bluebook, 27 Green Bag 2d 117 (2024) --- cl/search/filters.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cl/search/filters.py b/cl/search/filters.py index 25a17ae64e..d7f11e472c 100644 --- a/cl/search/filters.py +++ b/cl/search/filters.py @@ -42,6 +42,7 @@ class Meta: "end_date": DATE_LOOKUPS, "short_name": ALL_TEXT_LOOKUPS, "full_name": ALL_TEXT_LOOKUPS, + "citation_string": ALL_TEXT_LOOKUPS, }