Events that are happening today are hidden #264
Comments
Possibly something on https://github.com/adicu/adi-website/blob/master/app/routes/client.py#L39 Hey @danrschlosser can you explain these lines?
|
I tested this by adding fake events, however it worked as expected? |
So it's using Mongoengine advanced querying to find published events that either end on a date later than this date, or end today at a time greater than this time. (This is necessary because we store a end date and end time separately. Then we order by soonest first and limit. @evantarrh are you sure the event you weren't seeing hadn't already ended? |
@danrschlosser the event in question was the alumni dinner, and it definitely hadn't ended yet. It's possible it just was a one-time thing. ¯_(ツ)_/¯ |
We could perhaps examine the differences in the algorithm used to choose which events to show on the homepage vs events page? |
events page
home page
I think one difference is that on the home page we use |
Ohhhh @evantarrh with the smartness now lets see dat PR On Sun, Dec 6, 2015, 11:40 PM eunice notifications@github.com wrote:
|
On the front page, events that are happening on the same day aren't shown under the "events" header (or upcoming or anywhere else), although they're still visible at
adicu.com/events
.The text was updated successfully, but these errors were encountered: