Skip to content

feat(admin): add driver search and filtering - #318

Merged
Tybravo merged 31 commits into
SwiftChainn:mainfrom
Aboyeji-Isaac:feat/admin-driver-search
Oct 28, 2026
Merged

Tybravo merged 31 commits into
SwiftChainn:mainfrom
Aboyeji-Isaac:feat/admin-driver-search

Conversation

@Aboyeji-Isaac

Copy link
Copy Markdown
Contributor

Summary

Improves the admin driver-management experience with search and filtering capabilities.

Changes

  • Add driver search functionality using the fields supported by the existing data model.
  • Support the filters required by the issue.
  • Validate and handle search and filter query parameters.
  • Preserve existing authorization requirements for administrative endpoints.
  • Keep response formats consistent with the existing API conventions.
  • Add tests for search, filtering, invalid parameters, and relevant authorization behavior.
  • Document the updated endpoint behavior where appropriate.

Testing

  • Verify that search and filters return the expected driver records.
  • Verify that invalid query parameters are handled correctly.
  • Verify that administrative access controls remain enforced.
  • Run the project's linting, formatting, and test checks before merging.

Closes #250

@Tybravo
Tybravo merged commit 60b7043 into SwiftChainn:main Oct 28, 2026
1 check failed
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.

[Feature] Add an admin driver search and filter endpoint

2 participants