You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var view = new keystone.View(req, res),
locals = res.locals;
locals.section = 'meetups';
locals.page.title = 'Meetups - Gestures.World';
view.query('upcomingMeetup',
Meetup.model.findOne()
.where('state', 'active')
.where('endDate', { $gt: new Date() })
.sort('-startDate')
, 'talks[who]');
`
This might not be the best since those past their date will not be marked passive. However, it is less confusing. It is troublesome that the administrator has to change this by hand. While it makes sense for a site to have meetups administered by those who are responsible for the space they are going to use, it is also leaving room for confusing information on the front page.
The text was updated successfully, but these errors were encountered:
This is confusing.
So, it helps to change the query:
`
exports = module.exports = function(req, res) {
`
This might not be the best since those past their date will not be marked passive. However, it is less confusing. It is troublesome that the administrator has to change this by hand. While it makes sense for a site to have meetups administered by those who are responsible for the space they are going to use, it is also leaving room for confusing information on the front page.
The text was updated successfully, but these errors were encountered: