Open The-Compiler opened 3 years ago
Let's say I'm on https://paste.the-compiler.org/lists/135 - i.e. on page 10 of my recent pastes.
If I now use the search form to search for "locale", I land on https://paste.the-compiler.org/lists/135?search=locale which tells me "There have been no Pastes :(" - but https://paste.the-compiler.org/lists/0?search=locale actually has matches! In other words, searching should always result in a /lists/0?search=... page, rather than reusing the page number from the previous page.
/lists/0?search=...
Let's say I'm on https://paste.the-compiler.org/lists/135 - i.e. on page 10 of my recent pastes.
If I now use the search form to search for "locale", I land on https://paste.the-compiler.org/lists/135?search=locale which tells me "There have been no Pastes :(" - but https://paste.the-compiler.org/lists/0?search=locale actually has matches! In other words, searching should always result in a
/lists/0?search=...
page, rather than reusing the page number from the previous page.