Skip to content

Commit

Permalink
Add more flexibility matching bills to legislators
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
waldoj committed Dec 28, 2023
1 parent 68cb9a6 commit e5fa64e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cron/bills.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'] . '"),
Expand Down

0 comments on commit e5fa64e

Please sign in to comment.