This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit 252e761d authored by Michael Breu's avatar Michael Breu :speech_balloon:
Browse files

Intermediate commit

parent 30ba1423
2 merge requests!188Merging Peer Reviewing et. al to Master,!164211 peer reviewing functionality
...@@ -138,7 +138,7 @@ public class WatchListEntryResource { ...@@ -138,7 +138,7 @@ public class WatchListEntryResource {
@GetMapping("/_search/watch-list-entries") @GetMapping("/_search/watch-list-entries")
public ResponseEntity<List<WatchListEntryDTO>> searchWatchListEntries(@RequestParam String query, Pageable pageable) { public ResponseEntity<List<WatchListEntryDTO>> searchWatchListEntries(@RequestParam String query, Pageable pageable) {
log.debug("REST request to search for a page of WatchListEntries for query {}", query); log.debug("REST request to search for a page of WatchListEntries for query {}", query);
Page<WatchListEntryDTO> page = watchListEntryService.search(query, pageable); Page<WatchListEntryDTO> page = watchListEntryService.search(0L);
HttpHeaders headers = PaginationUtil.generatePaginationHttpHeaders(ServletUriComponentsBuilder.fromCurrentRequest(), page); HttpHeaders headers = PaginationUtil.generatePaginationHttpHeaders(ServletUriComponentsBuilder.fromCurrentRequest(), page);
return ResponseEntity.ok().headers(headers).body(page.getContent()); return ResponseEntity.ok().headers(headers).body(page.getContent());
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment