From 42ee153c30c3410bd4f6139325413a1c44e5014a Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Tue, 18 Mar 2014 22:55:48 +0000 Subject: [PATCH] Set row_modified setting so nextmatch can filter out unchanged rows, and not send them back to the client again --- addressbook/inc/class.addressbook_ui.inc.php | 1 + calendar/inc/class.calendar_uilist.inc.php | 1 + timesheet/inc/class.timesheet_ui.inc.php | 1 + 3 files changed, 3 insertions(+) diff --git a/addressbook/inc/class.addressbook_ui.inc.php b/addressbook/inc/class.addressbook_ui.inc.php index c89804b443..cff7575461 100644 --- a/addressbook/inc/class.addressbook_ui.inc.php +++ b/addressbook/inc/class.addressbook_ui.inc.php @@ -229,6 +229,7 @@ class addressbook_ui extends addressbook_bo 'manual' => $do_email ? ' ' : false, // space for the manual icon //'actions' => $this->get_actions(), // set on each request, as it depends on some filters 'row_id' => 'id', + 'row_modified' => 'modified', 'favorites' => true, 'placeholder_actions' => array('add') ); diff --git a/calendar/inc/class.calendar_uilist.inc.php b/calendar/inc/class.calendar_uilist.inc.php index dfa5413861..cfab08dee1 100644 --- a/calendar/inc/class.calendar_uilist.inc.php +++ b/calendar/inc/class.calendar_uilist.inc.php @@ -159,6 +159,7 @@ class calendar_uilist extends calendar_ui 'filter_onchange' => "app.calendar.filter_change", 'header_left' => 'calendar.list.dates', 'row_id' => 'row_id', // set in get rows "$event[id]:$event[recur_date]" + 'row_modified' => 'modified', 'favorites' => true ); } diff --git a/timesheet/inc/class.timesheet_ui.inc.php b/timesheet/inc/class.timesheet_ui.inc.php index 748142ba05..46d00a117b 100644 --- a/timesheet/inc/class.timesheet_ui.inc.php +++ b/timesheet/inc/class.timesheet_ui.inc.php @@ -871,6 +871,7 @@ class timesheet_ui extends timesheet_bo 'filter_onchange' => "app.timesheet.filter_change();", 'filter2' => (int)$GLOBALS['egw_info']['user']['preferences'][TIMESHEET_APP]['show_details'], 'row_id' => 'ts_id', + 'row_modified' => 'ts_modified', //'actions' => $this->get_actions(), 'default_cols' => '!legacy_actions', // switch legacy actions column and row off by default );