diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2021-08-30 00:25:16 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-29 18:25:16 +0200 |
commit | d985d4bc2f69439aafc8e516a3f0929d47cfb0e2 (patch) | |
tree | 1cb1bfd264c6d6ae0098ec781676162a42fc470f /custom | |
parent | f5b0e2c9d2336367dfcf121be6ff5154017192cf (diff) | |
download | gitea-d985d4bc2f69439aafc8e516a3f0929d47cfb0e2.tar.gz gitea-d985d4bc2f69439aafc8e516a3f0929d47cfb0e2.zip |
Paginate releases page & set default page size to 10 (#16857)
* Add release default page and set it to 10
* use limit
Co-authored-by: 6543 <6543@obermui.de>
Diffstat (limited to 'custom')
-rw-r--r-- | custom/conf/app.example.ini | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini index e262a38ee9..40d5742eff 100644 --- a/custom/conf/app.example.ini +++ b/custom/conf/app.example.ini @@ -907,6 +907,7 @@ PATH = ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Comma-separated list of allowed file extensions (`.zip`), mime types (`text/plain`) or wildcard type (`image/*`, `audio/*`, `video/*`). Empty value or `*/*` allows all types. ;ALLOWED_TYPES = +;DEFAULT_PAGING_NUM = 10 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |