mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 23:59:39 +01:00
trying to reduce calls to get_rows
This commit is contained in:
parent
4ba51c410a
commit
0e0fff38ef
@ -1086,7 +1086,7 @@ unset($query['actions']);
|
||||
$rows = $this->header2gridelements($sortResult['header'],$cols, $_folderName, $folderType,$previewMessage);
|
||||
//error_log(__METHOD__.__LINE__.array2string($rows));
|
||||
$endtime = microtime(true) - $starttime;
|
||||
//error_log(__METHOD__.__LINE__.' SelectedFolder:'.$query['selectedFolder'].' Start:'.$query['start'].' NumRows:'.$query['num_rows'].' Took:'.$endtime);
|
||||
error_log(__METHOD__.__LINE__.' SelectedFolder:'.$query['selectedFolder'].' Start:'.$query['start'].' NumRows:'.$query['num_rows'].' Took:'.$endtime);
|
||||
|
||||
return $rowsFetched['messages'];
|
||||
}
|
||||
|
@ -576,7 +576,7 @@ app.mail = AppJS.extend(
|
||||
}
|
||||
var nm = _widget.getRoot().getWidgetById('nm');
|
||||
nm.activeFilters["selectedFolder"] = folder;
|
||||
nm.applyFilters();
|
||||
//nm.applyFilters();// its done in refrefreshMessageGrid
|
||||
var msg = _widget.getRoot().getWidgetById('msg');
|
||||
if (msg)
|
||||
{
|
||||
@ -591,7 +591,7 @@ app.mail = AppJS.extend(
|
||||
myMsg = (displayname?displayname:folder)+' '+egw.lang('selected');
|
||||
app.mail.app_refresh(myMsg, 'mail');
|
||||
}
|
||||
//mail_refreshMessageGrid();
|
||||
//mail_refreshMessageGrid();// its done in refreshFolderStatus already
|
||||
this.mail_refreshFolderStatus(folder,'forced');
|
||||
this.mail_startTimerFolderStatusUpdate(this.mail_refreshTimeOut);
|
||||
this.mail_fetchCurrentlyFocussed(null,true);
|
||||
|
Loading…
Reference in New Issue
Block a user