goodybag / cater-api-server

hacking this together as fast as possible but with an eye for re-organization
1 stars 0 forks source link

Add a time filter to upcoming orders page #2358

Open m-amaya opened 8 years ago

L8D commented 8 years ago

@m-amaya this seems to only filter out orders from the existing listing. If I wanted to look at the orders for tomorrow or yesterday (or any arbitrary date in the past or future), it gives me an empty list. This would need some server-side changes in order to make it possible to query for different days. We can't load all orders from all time into memory (unlike with the restaurant listing).

L8D commented 8 years ago

also it's a little weird to position the fields as "Start date, end date, start time, end time" instead of "Start date, start time, end date, end time" but that's not important.

m-amaya commented 8 years ago

I'm going to hold off on this issue until after the query route is fixed. it'll fix all the issues you've mentioned @L8D