Spring Boot, Sorting, Searching, Filtering, Pagination.
UtilService.getPageable(searchRequest); String searchText = searchRequest.getSearchText(); if(searchRequest.getSearchText() != null){ searchText = "%" + searchText + "%"; } return projectRepository.search(searchText, searchRequest.getStartDate(), searchRequest.getEndDate(), pageable); } } 👉 First