mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-05-24 14:36:09 -04:00
Add StartTime and EndTime virtual fields for backwards compatability
This commit is contained in:
@@ -31,6 +31,10 @@ class Event extends AppModel {
|
||||
*/
|
||||
public $displayField = 'Name';
|
||||
|
||||
public $virtualFields = array(
|
||||
'StartTime' => 'StartDateTime',
|
||||
'EndTime' => 'EndDateTime'
|
||||
);
|
||||
|
||||
//The Associations below have been created with all possible keys, those that are not needed can be removed
|
||||
|
||||
|
||||
Reference in New Issue
Block a user