Samer-Melhem-FOO opened a new pull request, #6188:
URL: https://github.com/apache/fineract/pull/6188

   ## Description
   
   The `POST /v2/clients/search` endpoint returns matching clients regardless 
of status, including closed ones, with no way for the caller to filter them out.
   
   This adds an optional `excludeClosed` boolean field to the 
`ClientTextSearch` search request. When `excludeClosed=true`, the search 
excludes clients whose status is `CLOSED` (via a `status != CLOSED` predicate 
in `SearchingClientRepositoryImpl`). When omitted or `false`, behavior is 
unchanged — fully backward compatible for existing callers.
   
   https://issues.apache.org/jira/browse/FINERACT-2714
   
   ## Checklist
   
   - [x] Write the commit message as per our guidelines
   - [x] Acknowledge that we will not review PRs that are not passing the build 
("green") - it is your responsibility to get a proposed PR to pass the build, 
not primarily the project's maintainers.
   - [x] Create/update unit or integration tests for verifying the changes made.
   - [x] Follow our coding conventions.
   - [ ] Add required Swagger annotation and update API documentation at 
fineract-provider/src/main/resources/static/legacy-docs/apiLive.htm with 
details of any API changes (not applicable — no new endpoint, just an optional 
field on an existing request DTO, already reflected via existing annotations)
   - [x] This PR must not be a "code dump".
   - [ ] If merging this PR resolves a JIRA issue, I will mark that issue as 
resolved and set "Fix Version/s" appropriately.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to