Skip to content

BUG: awarding_agency parameter doesn't support abbreviations despite docs #42

@MikeC-A6

Description

@MikeC-A6

BUG - awarding_agency parameter doesn't support abbreviations despite docs

Summary

The awarding_agency parameter on /api/contracts/ does not accept agency abbreviations (VA, DOD, DHS), despite documentation listing them as examples.

Documentation

description: 'Filter by awarding agency. Examples: GSA, DOD, DHS, etc..'

Actual Behavior

Input Result
awarding_agency=VA 0 results
awarding_agency=DOD 0 results
awarding_agency=3600 583,359 results ✓
awarding_agency=Department of Veterans Affairs 583,359 results ✓

Impact

Users following the documented examples get 0 results, causing confusion.

Suggested Fix

Either:

  1. Update docs to show working examples: "Examples: 3600, Department of Veterans Affairs"
  2. Or add support for common abbreviations (VA, DOD, DHS, GSA, etc.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions