Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MODSOURCE-773: Remove default searching via "deleted"="false". #626

Merged
merged 17 commits into from
Jun 5, 2024

Conversation

VRohach
Copy link
Contributor

@VRohach VRohach commented Jun 4, 2024

Purpose

The main goal is to remove default searching if "deleted" parameter is NOT set inside the request.It will find either deleted=true or deleted=false.

Approach

Schema changed+additional condition added - if isDeleted==null, then do not add a condition to the CQL query.
Test added.

Learning

https://folio-org.atlassian.net/browse/MODSOURCE-773

@VRohach
Copy link
Contributor Author

VRohach commented Jun 4, 2024

This PR should be merged ONLY after folio-org/data-import-raml-storage#311 will be merged!

…rd-storage into MODSOURCE-773

# Conflicts:
#	mod-source-record-storage-server/src/main/java/org/folio/services/RecordSearchParameters.java
#	mod-source-record-storage-server/src/test/java/org/folio/rest/impl/SourceStorageStreamApiTest.java
Copy link

sonarqubecloud bot commented Jun 5, 2024

@VRohach VRohach merged commit 755b9cf into master Jun 5, 2024
6 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.

6 participants