From 0924905cfe5f254b5d11cbcc26c334164282b5bb Mon Sep 17 00:00:00 2001 From: grossir <14970769+grossir@users.noreply.github.com> Date: Thu, 21 Nov 2024 21:04:45 +0000 Subject: [PATCH 1/2] Update freelawproject dependencies --- poetry.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/poetry.lock b/poetry.lock index d062c4b304..68f09e1cfb 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2320,13 +2320,13 @@ setuptools = "*" [[package]] name = "juriscraper" -version = "2.6.42" +version = "2.6.43" description = "An API to scrape American court websites for metadata." optional = false python-versions = "*" files = [ - {file = "juriscraper-2.6.42-py27-none-any.whl", hash = "sha256:010d6578714f3262f16d15bee709872e0584381b93988d0d504bdb774f43b403"}, - {file = "juriscraper-2.6.42.tar.gz", hash = "sha256:293299112201ed217a1eccb05d8cba01aa208e8ed9686d3a6b90c24e752f51fb"}, + {file = "juriscraper-2.6.43-py27-none-any.whl", hash = "sha256:c2765e5f0a6563fe4842bf72b13aec2b6feb873dc2350523ff6b5102bdf1f757"}, + {file = "juriscraper-2.6.43.tar.gz", hash = "sha256:99029ab83cbe99673e4598c8e9b30df9e3d21ef98bd78baef9907ab53ad96e10"}, ] [package.dependencies] From de6ab4b03986eee0edce000a492b361d7523430b Mon Sep 17 00:00:00 2001 From: Alberto Islas Date: Thu, 21 Nov 2024 16:11:37 -0600 Subject: [PATCH 2/2] fix(search): Fixes o-es-active flag on court_homepage --- cl/opinion_page/views.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cl/opinion_page/views.py b/cl/opinion_page/views.py index 95cbec270d..0eaf0addb9 100644 --- a/cl/opinion_page/views.py +++ b/cl/opinion_page/views.py @@ -151,11 +151,11 @@ async def court_homepage(request: HttpRequest, pk: str) -> HttpResponse: mutable_GET = request.GET.copy() - es_flag_for_oa = await sync_to_async(waffle.flag_is_active)( - request, "oa-es-active" + es_flag_for_o = await sync_to_async(waffle.flag_is_active)( + request, "o-es-active" ) - if not es_flag_for_oa: + if not es_flag_for_o: # Do solr search response = await sync_to_async(do_search)( mutable_GET,