noodles2k5 Posted November 2, 2009 Share Posted November 2, 2009 Normal search works fine. But when I try to change the sort order, the URL gets rewritten with & instead of & so it doesn't work. Here's my testing server URL for reference. Can somebody tell me which file I need to modify to fix this?http://apeonthemoon.com/shop/ Link to comment Share on other sites More sharing options...
rocky Posted November 3, 2009 Share Posted November 3, 2009 I just tried searching for Mac and then changed the sort order to "price: lowest first". It worked fine in IE, but doesn't work in any other browsers. This is strange because I thought using & in urls was the standards-compliant way of entering query strings and that using & was wrong. You can modify classes/Link.php to change this behaviour. For some reason, the addSortDetails function uses & and the getUrlWith and goPage functions use &. You can change them to & to get it to work, even though it is wrong to do it that way. 2 Link to comment Share on other sites More sharing options...
noodles2k5 Posted November 3, 2009 Author Share Posted November 3, 2009 Thanks, rocky!I was under the impression that & amp; was an escape character for HTML only. Not sure if the problem has to do with PHP/urlencode or the server setup or what. I just changed it to plain ole & for the time being. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now