koopjs / koop-pgcache

PostGIS cache for Koop.
Other
4 stars 4 forks source link

add order by options #32

Closed dmfenton closed 8 years ago

dmfenton commented 8 years ago

This PR allows order_by to be passed in as part of the options hash as an array of {field: order} objects.

cc @koopjs/dev

dmfenton commented 8 years ago

Just a note, I am not using the geoservices orderByFields parameter in the cache because I don't think caches need to know about geoservices. Something in Koop should be doing the translating. What do you think @ngoldman?

ungoldman commented 8 years ago

@dmfenton I think that makes sense.