Incorrect next URL when paging search results
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #2746689. --> Reported by: [fgm](https://www.drupal.org/user/27985) >>> <p>On search result pages, e.g. for "references", the result returned is :</p> <pre> { "results": [ ..snip.... ], "total": 186, "next": "https://www.drupal.org/search.json?s=references&amp;page=2" } </pre><p>but this "next" URL does not exist (404). It should probably be (judging from packagist.org):</p> <pre> { "results": [ ...snip... ], "total": 186, "next": "https://packages.drupal.org/8/search.json?s=references&amp;page=2" } </pre><p>The latter actually appears to work.</p>
issue