@PathVariable("page") String page,Model model){
List<String> tagList = tagService.stringToTagList(tagNames);
int pageNum = WebUtil.getPageNumber(page);
int size = WebUtil.getPageSize(page);
model.addAttribute("codes",
<BUG>codeService.getCodes(tagList,search, sort, pageNum, size));
</BUG>
model.addAttribute("codeCount",
<BUG>codeService.countCodes(tagList,search, sort));
</BUG>
model.addAttribute("number", size);

@PathVariable("page") String page,Model model){
List<String> tagList = tagService.stringToTagList(tagNames);
int pageNum = WebUtil.getPageNumber(page);
int size = WebUtil.getPageSize(page);
model.addAttribute("codes",
codeService.getCodes(tagList, null, search, sort, pageNum, size));
model.addAttribute("codeCount",
codeService.countCodes(tagList, null, search, sort));
model.addAttribute("number", size);
