From e5fa64e3558b9e7d37f58ccf7f6734bd73898bce Mon Sep 17 00:00:00 2001 From: Waldo Jaquith Date: Thu, 28 Dec 2023 10:34:03 -0500 Subject: [PATCH] Add more flexibility matching bills to legislators This wasn't matching bills carried over from the last session for legislators who have not been reelected, and with a final day in office of early next year. --- cron/bills.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cron/bills.php b/cron/bills.php index 7fb2c3e..1e26869 100644 --- a/cron/bills.php +++ b/cron/bills.php @@ -123,6 +123,8 @@ OR YEAR(date_ended)+1 = YEAR(now()) OR + YEAR(date_ended)-1 = YEAR(now()) + OR YEAR(date_ended) = YEAR(now()) ) AND chamber = "' . $bill['chamber'] . '"),