Skip to content

Commit

Permalink
Revert "fix: fix search alternative"
Browse files Browse the repository at this point in the history
  • Loading branch information
tkuzynow authored Apr 25, 2024
1 parent e9f72b7 commit 50117ee
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 62 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@
import de.caritas.cob.userservice.api.tenant.TenantContext;
import de.caritas.cob.userservice.generated.api.adapters.web.controller.UsersApi;
import io.swagger.annotations.Api;
import java.net.URLDecoder;
import java.nio.charset.StandardCharsets;
import java.util.Collection;
import java.util.List;
import java.util.Map;
Expand Down Expand Up @@ -775,7 +777,7 @@ public ResponseEntity<List<ConsultantResponseDTO>> getConsultants(@RequestParam
@Override
public ResponseEntity<ConsultantSearchResultDTO> searchConsultants(
String query, Integer page, Integer perPage, String field, String order) {
var decodedInfix = SearchQueryDecoder.decode(query);
var decodedInfix = URLDecoder.decode(query, StandardCharsets.UTF_8).trim();
var isAscending = order.equalsIgnoreCase("asc");
var mappedField = consultantDtoMapper.mappedFieldOf(field);
var resultMap =
Expand Down

This file was deleted.

0 comments on commit 50117ee

Please sign in to comment.