chore: Refactor DatasetController to fix spaceing
This commit is contained in:
parent
d6a8cab85a
commit
683f18cc27
@ -88,7 +88,7 @@ public class DatasetController {
|
|||||||
@RequestParam(value = "categorie", required = false) Category categories) {
|
@RequestParam(value = "categorie", required = false) Category categories) {
|
||||||
Pageable pageable = PageRequest.of(page, size,
|
Pageable pageable = PageRequest.of(page, size,
|
||||||
Sort.by(direction.equals("asc") ? Sort.Direction.ASC : Sort.Direction.DESC, sort));
|
Sort.by(direction.equals("asc") ? Sort.Direction.ASC : Sort.Direction.DESC, sort));
|
||||||
return datasetService.getDatasetsByOptionalCriteria(title, description, author, abst, type, raiting,categories,pageable);
|
return datasetService.getDatasetsByOptionalCriteria(title, description, author, abst, type, raiting, categories,pageable);
|
||||||
}
|
}
|
||||||
|
|
||||||
@GetMapping("/search")
|
@GetMapping("/search")
|
||||||
|
Loading…
Reference in New Issue
Block a user