Page 1 of 1

[DONE] Quicksearch does not maintain the sort order when viewing pages

Posted: Sun Jun 02, 2019 12:29 pm
by Madroms
As the title says.

for example, searching for "vol."
https://redump.info/discs/quicksearch/vol./
=> 1114 results.

click on "System" (column header) to sort by system:
https://redump.info/discs/quicksearch/vol./sort/system/

the link for the page 2 is:
https://redump.info/discs/quicksearch/vol./?page=2
and not https://redump.info/discs/quicksearch/vol … em/?page=2
so the following pages are not accessible with a specific sort order.

Also, the links on the column headers do not keep the page number:
when you are on https://redump.info/discs/quicksearch/vol … em/?page=2
Link on column header "version" is https://redump.info/discs/quicksearch/v ... t/version/
and not https://redump.info/discs/quicksearch/vol … on/?page=2
so you are back on page 1 with the new sort order.
This behavior could be wanted. This is a choice. But I report it also, just in case.

Another little bug, the end of the link for asc - desc is duplicated:
https://redump.info/discs/quicksearch/vol … d/dir/asc/
Is it wanted ?
but no impact on the result pages.




And a little request: is it possible to add arrows next to the column header to know the sort order that is in used ? (for reference, I did that on the search engine at satakore.com)

Re: [DONE] Quicksearch does not maintain the sort order when viewing pages

Posted: Fri Jun 21, 2019 4:50 pm
by iR0b0t
Both issues should be fixed.
Madroms wrote:And a little request: is it possible to add arrows next to the column header to know the sort order that is in used ? (for reference, I did that on the search engine at satakore.com)
I will look for that.

Re: [DONE] Quicksearch does not maintain the sort order when viewing pages

Posted: Sun Jun 23, 2019 4:27 am
by F1ReB4LL
Talking about search issues - some symbols in search requests should be modified instead of passing them "as is" to the URL. Like, you can't search for "120%", because any browser treats it as a broken command.

Re: [DONE] Quicksearch does not maintain the sort order when viewing pages

Posted: Sun Jun 23, 2019 4:50 am
by Madroms
F1ReB4LL wrote:Talking about search issues - some symbols in search requests should be modified instead of passing them "as is" to the URL. Like, you can't search for "120%", because any browser treats it as a broken command.
This is a problem with apache config. .htaccess or the script needs to be tweaked for this.

Re: [DONE] Quicksearch does not maintain the sort order when viewing pages

Posted: Sun Jun 23, 2019 5:36 am
by Madroms
There are also some characters that you can't use in the search, for example: .#?&:/\+
this is probably due to how the is coded: mix of url encoding, forbidden characters and apache config.
But this is another topic.