Set row_modified setting so nextmatch can filter out unchanged rows, and not send them back to the client again

This commit is contained in:
Nathan Gray 2014-03-18 22:55:48 +00:00
parent 4a5d906e48
commit 42ee153c30
3 changed files with 3 additions and 0 deletions

View File

@ -229,6 +229,7 @@ class addressbook_ui extends addressbook_bo
'manual' => $do_email ? ' ' : false, // space for the manual icon 'manual' => $do_email ? ' ' : false, // space for the manual icon
//'actions' => $this->get_actions(), // set on each request, as it depends on some filters //'actions' => $this->get_actions(), // set on each request, as it depends on some filters
'row_id' => 'id', 'row_id' => 'id',
'row_modified' => 'modified',
'favorites' => true, 'favorites' => true,
'placeholder_actions' => array('add') 'placeholder_actions' => array('add')
); );

View File

@ -159,6 +159,7 @@ class calendar_uilist extends calendar_ui
'filter_onchange' => "app.calendar.filter_change", 'filter_onchange' => "app.calendar.filter_change",
'header_left' => 'calendar.list.dates', 'header_left' => 'calendar.list.dates',
'row_id' => 'row_id', // set in get rows "$event[id]:$event[recur_date]" 'row_id' => 'row_id', // set in get rows "$event[id]:$event[recur_date]"
'row_modified' => 'modified',
'favorites' => true 'favorites' => true
); );
} }

View File

@ -871,6 +871,7 @@ class timesheet_ui extends timesheet_bo
'filter_onchange' => "app.timesheet.filter_change();", 'filter_onchange' => "app.timesheet.filter_change();",
'filter2' => (int)$GLOBALS['egw_info']['user']['preferences'][TIMESHEET_APP]['show_details'], 'filter2' => (int)$GLOBALS['egw_info']['user']['preferences'][TIMESHEET_APP]['show_details'],
'row_id' => 'ts_id', 'row_id' => 'ts_id',
'row_modified' => 'ts_modified',
//'actions' => $this->get_actions(), //'actions' => $this->get_actions(),
'default_cols' => '!legacy_actions', // switch legacy actions column and row off by default 'default_cols' => '!legacy_actions', // switch legacy actions column and row off by default
); );