Moderated #bug Searching phrases with quotation marks breaks the search pagination and sorting #bug


 

On Wed, Nov 17, 2021 at 05:16 PM, Matt Pilz wrote:

When searching any group from the groups.io website, enclosing a phrase in quotation marks will only retrieve the first page of results.

As soon as you attempt to use the pagination or change the sort order (e.g., click "Date" or "Next") the search breaks and no results are returned, even if there are many pages of matches.

This has been fixed.

Thanks,
Mark


Matt Pilz <info@...>
 

When searching any group from the groups.io website, enclosing a phrase in quotation marks will only retrieve the first page of results.

As soon as you attempt to use the pagination or change the sort order (e.g., click "Date" or "Next") the search breaks and no results are returned, even if there are many pages of matches.

The quotation marks are being improperly converted to HTML entities within the query and are then added as part of it, so "Example" becomes %22Example%22 and then THAT becomes %2522Example%2522 within the query string, therefore returns no results.

Search (Page 1 - Works): https://beta.groups.io/g/main/search?p=recentpostdate%2Fsticky%2C%2C%2C20%2C2%2C0%2C0&q=%22Example%22

Clicking Next (Page 2 - Broken): https://beta.groups.io/g/main/search?p=recentpostdate%2Fsticky%2C%2C%2522Example%2522%2C20%2C2%2C20%2C0&next=1

This complicates searching for particular phrases on groups.

Thank you,

Matt