Closed (won't fix)
Project:
Views (for Drupal 7)
Version:
6.x-2.x-dev
Component:
exposed filters
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Nov 2009 at 00:28 UTC
Updated:
20 Nov 2009 at 08:32 UTC
For the purposes of page caching & SEO, it would be nice if views outputted more consistent URLs. When you first submit an exposed filter you get a URL like this
specials?field_type_value[]=3&field_type_value[]=112
If you navigate to page 1 you get this
specials?page=1&field_type_value[0]=3&field_type_value[1]=112
page 0
specials?field_type_value[0]=3&field_type_value[1]=112
Ideally it would always have a number in the brackets. [] [0]
http_build_query() with urldecode() might be a solution.
Comments
Comment #1
merlinofchaos commentedI don't think we can control those URLs, at least not without doing some kind of redirect to clean them up (which is going to add lag time to the page for purely aesthetic reasons) because the URL is generated by the browser itself during the form submit process.
It doesn't seem like a valuable use of resources to prettify those URLs because of that.
Comment #2
keesje commentedI agree with wont fix, this is common practice.
Thanks anyway.