@PathVariable("page") String page,
@PathVariable("sort") String sort,Model model) {
List<String> tagList = tagService.stringToTagList(tagNames);
int pageNum = WebUtil.getPageNumber(page);
int size = WebUtil.getPageSize(page);
<BUG>Weaver currentWeaver = weaverService.getCurrentWeaver();
model.addAttribute("projects", projectService.getProjects(currentWeaver,tagList,sort, pageNum, size));

model.addAttribute("projectCount", projectService.countProjects(tagList,sort));
</BUG>
model.addAttribute("pageIndex", pageNum);

@PathVariable("page") String page,
@PathVariable("sort") String sort,Model model) {
List<String> tagList = tagService.stringToTagList(tagNames);
int pageNum = WebUtil.getPageNumber(page);
int size = WebUtil.getPageSize(page);
Weaver currentWeaver = weaverService.getCurrentWeaver();
model.addAttribute("projects",
projectService.getProjects(currentWeaver, tagList, null, sort, pageNum, size));
model.addAttribute("projectCount", projectService.countProjects(tagList, null, sort));
model.addAttribute("pageIndex", pageNum);
