- Merge request !120Resolve #3548663 "Do not set limit or offset" → (Merged) created by kristiaanvandeneynde
See https://git.drupalcode.org/project/search_api_opensearch/-/blob/3.x/src/...
// Set the size and from parameters.
$body['from'] = $query->getOption('offset') ?? self::DEFAULT_OFFSET;
$body['size'] = $query->getOption('limit') ?? self::DEFAULT_LIMIT;
If a query is passed in that has no limit, then a limit of 10 is set. This means that any VBO submission for more than 10 items will only handle 10 items, even though it claims to handle more.
It puzzles me why we would want a limit of 10 on any query that comes in without a limit. Chances are those queries are using a condition of some sort and want to see all results for said condition. If you then add an arbitrary limit of 10, things get funky.
Do not set a default limit or offset if they are absent on the original query.
Do not set a default limit or offset if they are absent on the original query.
N/A
N/A
N/A
Active
2.3
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.