You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/api/v1
zeripath e520dff4da
Improve /api/v1/repos/issues/search by just getting repo ids (#15179) (#15192)
Backport #15179

/api/v1/repos/issues/search is a highly inefficient search which is unfortunately
the basis for our dependency searching algorithm. In particular it currently loads
all of the repositories and their owners and their primary coding language all of
which is immediately thrown away.

This PR makes one simple change - just get the IDs.

Related #14560
Related #12827

Signed-off-by: Andrew Thornton <art27@cantab.net>
4 years ago
..
admin [API] Add Restricted Field to User (#14630) 4 years ago
misc Move macaron to chi (#14293) 4 years ago
notify move notification APIFormat (#13783) 4 years ago
org Clarify the suffices and prefixes of setting.AppSubURL and setting.AppURL (#12999) 4 years ago
repo Improve /api/v1/repos/issues/search by just getting repo ids (#15179) (#15192) 4 years ago
settings Export LFS & TimeTracking function status (#14753) 4 years ago
swagger Add dismiss review feature (#12674) 4 years ago
user Move macaron to chi (#14293) 4 years ago
utils Migrate to use jsoniter instead of encoding/json (#14841) 4 years ago
api.go Prevent incorrect HTML escaping in swagger.json (#14957) 4 years ago