Skip to content

BI-2922: Study Cache 5 - Update bi-api to utilize prodserver for filtering/sorting/pagination - #27

Open
humsika wants to merge 1 commit into
epic/BI-2862from
feature/BI-2922
Open

humsika wants to merge 1 commit into
epic/BI-2862from
feature/BI-2922

Conversation

@humsika

@humsika humsika commented Sep 23, 2026 •

Copy link
Copy Markdown

Description

Story: BI-2922

This PR updates the ProdServer Studies search flow to support database-level filtering and sorting through the generic search query functionality.

The changes:

  • Apply submitted filterBy parameters when building the Studies database query.
  • Add supported filtering and sorting mappings.
  • Correct the studyType mapping to use the studyType entity field instead of studyName.

This allows the Studies search endpoint to return only the filtered, sorted, and paginated records requested by the caller.

Dependencies

bi-web: feature/BI-2922
bi-api: feature/BI-2922
brapi-Java-ProdServer: feature/BI-2922

Testing

  • Send a POST /brapi/v2/search/studies request with supported filterBy fields and verify that only matching Studies are returned.

Checklist:

@humsika
humsika requested a review from jloux-brapi September 23, 2026 14:43
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