Skip to content

feat(api): filter by new registration statuses#1048

Merged
JazzarKarim merged 6 commits intobcgov:mainfrom
JazzarKarim:32444-filters-return-regs-only
Feb 26, 2026
Merged

feat(api): filter by new registration statuses#1048
JazzarKarim merged 6 commits intobcgov:mainfrom
JazzarKarim:32444-filters-return-regs-only

Conversation

@JazzarKarim
Copy link
Collaborator

@JazzarKarim JazzarKarim commented Feb 24, 2026

Issue:

Description of changes:
Example:

/registrations/search?status=ACTIVE&approvalMethod=FULL_REVIEW_APPROVED&nocStatus=NOC_EXPIRED&nocStatus=NOC_PENDING&isSetAside=false&sortOrder=asc&limit=50&page=1

Results:
image

Logic:
Between filter types: AND
A registration must satisfy every filter type that has at least one value selected.

Within a filter type: OR
Within each filter type, a registration only needs to match one of the selected values.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the BC Registry and Digital Services BSD 3-Clause License

@JazzarKarim JazzarKarim self-assigned this Feb 24, 2026
@sonarqubecloud
Copy link

@JazzarKarim JazzarKarim marked this pull request as ready for review February 24, 2026 23:25
Copy link
Collaborator

@thorwolpert thorwolpert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, and we're so close now on test coverage!

@JazzarKarim JazzarKarim merged commit 0b1466f into bcgov:main Feb 26, 2026
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants