-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
## Summary Fixes #1494 ### Time to review: __2 mins__ ## Changes proposed Adjust the logic for filtering by agency to be an exact match instead of the prior "starts with" logic. ## Context for reviewers This adjustments comes out of a recent discussion with our front-end folks. Turns out they intend to pass us every agency for sub-agencies (eg. `HHS-123`, `HHS-456`, etc). I had implemented sub-agency logic assuming we'd want prefixes, which is clunky. This makes the logic more intuitive by just being a simple match. Note that previously the agencies were also case-insensitive which is no longer here, but that also isn't really necessary. ## Additional information Updated a few tests that assumed prior logic - nothing too significant here
- Loading branch information
Showing
2 changed files
with
11 additions
and
13 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