Skip to content

Commit 1cb395c

Browse files
committed
pagination
1 parent e27528a commit 1cb395c

6 files changed

Lines changed: 22 additions & 670 deletions

File tree

src/main/java/com/raysmond/blog/admin/controllers/PostController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public class PostController {
4242
@Autowired
4343
private UserRepository userRepository;
4444

45-
private static final int PAGE_SIZE = 50;
45+
private static final int PAGE_SIZE = 20;
4646

4747
@RequestMapping(value = "")
4848
public String index(@RequestParam(defaultValue = "0") int page, Model model){

src/main/webapp/resources/vendors/bootstrap-paginator-1.0.2/.gitignore

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/main/webapp/resources/vendors/bootstrap-paginator-1.0.2/js/bootstrap-paginator.min.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)