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

use keyword for wildcardsearch #4263

Merged
merged 2 commits into from
Apr 13, 2021

Conversation

Kathrin-Huber
Copy link
Contributor

fixes #3938

@Kathrin-Huber Kathrin-Huber requested a review from solth March 9, 2021 13:10
@@ -217,6 +218,22 @@ public void shouldFindByMetadataContent() throws DataException {
assertEquals(processNotFound, 1, processService.findByAnything("SecondMetaShort").size());
}

@Test
public void shouldFindProcessWithUnderscore() throws DataException, DAOException {
Project projectDTO = ServiceManager.getProjectService().getById(1);
Copy link
Member

Choose a reason for hiding this comment

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

Why is this variable called projectDTO? It is an instance of Project, not ProjectDTO.

@Kathrin-Huber Kathrin-Huber merged commit d45bc91 into kitodo:master Apr 13, 2021
@Kathrin-Huber Kathrin-Huber deleted the make_underscore_searchable branch April 13, 2021 12:22
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.

Wildcard search does not work properly
2 participants