diff options
author | Bob Van Landuyt <bob@vanlanduyt.co> | 2018-07-05 12:16:08 +0300 |
---|---|---|
committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2018-07-06 15:09:36 +0300 |
commit | de35c044fb5a2def205d9da84e2792c97f40d481 (patch) | |
tree | eb4dfdf1e27b70238915302ae2cb4ad2961aca49 /changelogs | |
parent | 34fe32740f475051dfcbb696f11c270ae327dc4a (diff) |
Preload ancestors after pagination when filtering
We need to preload the ancestors of search results after applying
pagination limits. This way the search results itself are paginated,
but not the ancestors.
If we don't do this, we might not preload a parent group of a search
result as it has been cut off by pagination.
Diffstat (limited to 'changelogs')
-rw-r--r-- | changelogs/unreleased/bvl-preload-parents-after-pagination.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/bvl-preload-parents-after-pagination.yml b/changelogs/unreleased/bvl-preload-parents-after-pagination.yml new file mode 100644 index 00000000000..ff3d4716d34 --- /dev/null +++ b/changelogs/unreleased/bvl-preload-parents-after-pagination.yml @@ -0,0 +1,5 @@ +--- +title: Reduce the number of queries when searching for groups +merge_request: 20398 +author: +type: performance |