diff --git a/src/main/java/com/axonivy/market/controller/ProductController.java b/src/main/java/com/axonivy/market/controller/ProductController.java index 434beb202..5f60c55b7 100644 --- a/src/main/java/com/axonivy/market/controller/ProductController.java +++ b/src/main/java/com/axonivy/market/controller/ProductController.java @@ -45,7 +45,8 @@ public ProductController(ProductService service, ProductModelAssembler assembler @GetMapping() public ResponseEntity> findProducts( @RequestParam(required = true, name = "type") String type, - @RequestParam(required = false, name = "keyword") String keyword, Pageable pageable) { + @RequestParam(required = false, name = "keyword") String keyword, + @RequestParam(required = false, name = "pageable") Pageable pageable) { Page results = service.findProducts(type, keyword, pageable); if (results.isEmpty()) { return generateEmptyPagedModel();