ChrisASearles / CompLinks

0 stars 0 forks source link

An update to Shopping Trips page #222

Open robgpeak opened 7 years ago

robgpeak commented 7 years ago

On the page https://shop.complinks.co/trips we need to have either a dropdown at the top right which would include the Month and Year, so someone who ends up having thousands of trips, can easily sort them. https://app.moqups.com/robg/QSDVx2F07W/edit/page/a1b8e559c

The other thing is, I would like to be able to sort be all the columns.

ChrisASearles commented 6 years ago

@cgladue if you want to work on the filtering and let us know how you want that data passed in we can deal with the front-end stuff

cgladue commented 6 years ago

ok, it will probbally be just a querystring what when they choose the dropdown the page will reload with the proper ?date= querystring specified .. ill let you know.

cgladue commented 6 years ago

@ChrisASearles there is now a parameter that should be passed to the URL if the user choose something other then "All Trips", see below:

https://shop.complinks.co/trips/Index?date=201707

the date value would be: YYYYMM format, if "" is passed or date is not specified at all then it will return everything. i added a dropdown just for example, it dosnt do anything right now. the current date value is available in ViewBag.date parameter and is string.