openplans / openblock

OpenBlock is a web application and RESTful service that allows users to browse and search their local area for "hyper-local news
61 stars 26 forks source link

"Matrix" URIs used by schema_filter view are problematic #259

Closed slinkp closed 11 years ago

slinkp commented 11 years ago

Eg. /restaurants/filter/by-date:2006-01-01,2006-01-02;locations=zipcodes,12345/

This is problematic for several reasons:

By contrast, everybody understands query strings and they require less code to implement.

We should also move away from packing several pieces of data into one comma-separated value, for the same reasons, but that can be tackled later.

So the example URI would be something like: /restaurants/filter/?start_date=2006-01-01&end_date=2006-01-02&locations=zipcodes,12345

slinkp commented 11 years ago

Fixed in f9de3a071de31c2330c09829345ebe75ff4453e1

slinkp commented 11 years ago

Ticket imported from Trac: http://developer.openblockproject.org/ticket/266 Reported by: slinkp