addJsDateFormatAttribute(model, request);
model.addAttribute("filter", filter);
model.addAttribute("orderStatuses", orderStatusAdminModel.getList(null));
PageParam pageParam = createPageParam(request);
List<ProductPurchasedRpt> purchasedList = productReportAdminModel.getProductsPurchased(filter, pageParam);
model.addAttribute("productsPurchased", purchasedList);
int total = productReportAdminModel.getTotalProductsViewed();
Pagination pagination = new Pagination();
pagination.setTotal(total).setPageParam(pageParam)