-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: document count logic and ensure valid sort dates.
Updated the initial value of `inserted_document_count` to 1 to more accurately reflect insertion logic. Introduced `valid_sort_date` in `legislation.py` to default to `modified` date if `valid` date is missing or empty, ensuring correct sorting behavior.
- Loading branch information
1 parent
a900886
commit 5832843
Showing
2 changed files
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters