mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
feature: add pagination on comments
Fixes: #354 Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
This commit is contained in:
parent
1d6335363c
commit
2c080b2ea9
3 changed files with 22 additions and 2 deletions
|
@ -6,6 +6,9 @@ O = 0
|
|||
# Default [P]er [P]age
|
||||
PP = 50
|
||||
|
||||
# Default Comments Per Page
|
||||
COMMENTS_PER_PAGE = 10
|
||||
|
||||
# A whitelist of valid PP values
|
||||
PP_WHITELIST = {50, 100, 250}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue