Empty maintainer search has no output with #orphans > max_results
Checklist
-
I confirm that this is an issue with aurweb's code and not a user-uploaded package. -
I have described the bug in complete detail in the Description section. -
I have specified steps in the Reproduction section. -
I have included any logs related to the bug in the Logs section. -
I have included the versions which are affected in the Version(s) section.
Description
The RPC documentation states:
If a maintainer search is performed and the search argument is left empty, a list of orphan packages is returned.
However, because the limit of search results is set to 5000, and the amount of orphan packages is (as of writing) 8849, nothing is returned:
[{"error":"Too many package results.","resultcount":0,"results":[],"type":"error","version":5}]
Reproduction
curl https'://aur.archlinux.org/rpc?v=5&type=search&by=maintainer'
or
curl https'://aur.archlinux.org/rpc?v=5&type=search&by=maintainer&arg='
Logs
See above.
Version(s)
aurweb v6.0.25