Closed yankwong closed 6 years ago
Added comment on line 147-148 of event.controller.js. The GET parameter will be passed in the form of req.query.cid. It is a string in the format of '1+2+3...' and can be '' (empty)
Since :categoryId won't be used, we can either modify the '/bycategory/:categoryId' endpoint of add a new endpoint
I've modified the find event page so that users can only find events by categories. Is it possible to create a backend endpoint (or modify the current endpoint) so that they can search events by specifying more than 1 category?
For example, if someone wanna search for all "Party", "Online" and "Concerts", the logic should be:
"ID1" and "ID2" represents the category IDs the user select from the frontend form.
Let me know if this is not clear :)