Skip to content

Board Correspondence doesn't sort by date #1305

Description

@yshng

I noticed when reproducing the initial issue (#1276) that the Sort function also does not work for Board Correspondence.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Search
  2. Filter by Board Correspondence
  3. Sort by date
  4. Nothing happens, bills are in seemingly random order
  5. Notice there aren't any dates in the "last action" section of the results

Expected behavior
Bill should sort by when they came out.

Additional context
Investigation revealed that there is often no last action for Board Correspondence, and the scraper doesn't appear to store any of the relavant dates (MatterIntroDate, MatterAgendaDate). The fix probably involves storing one of those dates somewhere on Bill objects and referencing it when there is no last action date, so there will need to be a PR on the scraper side and one on the frontend.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    📥 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions