Description
Description
Under root of Gitea UI there is a repository counter :
And a list of items under it takes a REST as data source, so it is the easiest way to get a json with all repositories.
I personally hate pagination, so , as Gitea is superfast, I configured items per page to higher numbers
[api]
DEFAULT_PAGING_NUM = 100
[ui]
FEED_PAGING_NUM = 100
EXPLORE_PAGING_NUM = 100
ISSUE_PAGING_NUM = 100
[ui.user]
REPO_PAGING_NUM = 100
So, by now all repositories must fit in this request
/repo/search?sort=updated&order=desc&uid=4&team_id=undefined&q=&page=1&limit=100&mode=&archived=false
but they are not, this request returns only 50 repositories, but UI thinks that it is OK, and pagination control at the bottom is grayed.
UI works as expected, but service is not.
To get all 65 repositories I must make two calls
/repo/search?sort=updated&order=desc&uid=4&team_id=undefined&q=&page=1&limit=50&mode=&archived=false
/repo/search?sort=updated&order=desc&uid=4&team_id=undefined&q=&page=2&limit=50&mode=&archived=false
Somewhere inside there is no respect to limit counter (=100 in my case)
Screenshots
--
Gitea Version
1.21.3
Can you reproduce the bug on the Gitea demo site?
No
Operating System
win
Browser Version
120