@RequestMapping("/page:{page}")
public String page(@PathVariable("page") String page,Model model) {
int pageNum = WebUtil.getPageNumber(page);
int size = WebUtil.getPageSize(page);
Weaver currentWeaver = weaverService.getCurrentWeaver();
<BUG>model.addAttribute("lectures", lectureService.getLectures(currentWeaver, pageNum, size));

model.addAttribute("lectureCount", lectureService.countLectures());
</BUG>
model.addAttribute("pageIndex", page);

@RequestMapping("/page:{page}")
public String page(@PathVariable("page") String page,Model model) {
int pageNum = WebUtil.getPageNumber(page);
int size = WebUtil.getPageSize(page);
Weaver currentWeaver = weaverService.getCurrentWeaver();
model.addAttribute("lectures", lectureService.getLectures(currentWeaver, null, null, pageNum, size));
model.addAttribute("lectureCount", lectureService.countLectures(null,null));
model.addAttribute("pageIndex", page);
