Changeset 34950c6 for phonelux-backend/src/main/java/finki/it/phoneluxbackend/controllers/PhoneController.java
- Timestamp:
- 09/22/22 03:14:04 (2 years ago)
- Branches:
- master
- Children:
- 436e0da
- Parents:
- d66b8eb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
phonelux-backend/src/main/java/finki/it/phoneluxbackend/controllers/PhoneController.java
rd66b8eb r34950c6 24 24 @RequestParam(name = "sortBy", required = false) String sortBy, 25 25 @RequestParam(name = "priceRange", required = false) String priceRange, 26 @RequestParam(name = "searchValue", required = false) String searchValue){ 26 @RequestParam(name = "searchValue", required = false) String searchValue, 27 @RequestParam(name = "ram", required = false) String ram, 28 @RequestParam(name = "rom", required = false) String rom, 29 @RequestParam(name = "frontcamera", required = false) String frontcamera, 30 @RequestParam(name = "backcamera", required = false) String backcamera, 31 @RequestParam(name = "chipset", required = false) String chipset, 32 @RequestParam(name = "cpu", required = false) String cpu, 33 @RequestParam(name = "operatingsystem", required = false) String operatingsystem, 34 @RequestParam(name = "color", required = false) String color, 35 @RequestParam(name = "battery", required = false) String battery){ 27 36 28 return phoneService.getPhones(shops,brands,sortBy,priceRange,searchValue); 37 return phoneService.getPhones(shops,brands,sortBy,priceRange,searchValue, 38 ram, rom, frontcamera, backcamera, chipset, cpu, operatingsystem, color, battery); 29 39 } 30 40
Note:
See TracChangeset
for help on using the changeset viewer.