Changeset [7101042293cffe1fc865d18b96743a78f56b6212] by dleffler
Revision 7101042293cffe1fc865d18b96743a78f56b6212,
committed by dleffler
· December 18th, 2015 @ 08:05 PM
Updates EAAS to send upcoming events (by date) instead of simply
the most recently entered events...to accomplish this the; 'event'
model now has a $model->find('upcoming',...) method action; EAAS
also now compensates for plural 'types' (e.g., event or events) as
the javascript errors on receiving client (now sends an empty
'banner' object instead of nothing if there's no image
https://github.com/exponentcms/exponent-cms/commit/7101042293cffe1f...
5 changed files
-
M
framework/core/models/expRecord.php -
M
framework/modules/eaas/controllers/eaasController.php -
M
framework/modules/events/controllers/eventController.php -
M
framework/modules/events/models/event.php -
M
framework/plugins/compiler.switch.php