Pass along internal lastModification time, and use it

This commit is contained in:
Nathan Gray 2013-02-27 18:00:15 +00:00
parent 7d07d51265
commit 987af6b473
2 changed files with 3 additions and 0 deletions

View File

@ -436,6 +436,7 @@ var et2_dataview_controller = Class.extend({
"self": this,
"start": query.start,
"count": query.num_rows,
"lastModification": this._lastModification
};
if(this.dataStorePrefix)
{

View File

@ -156,6 +156,8 @@ egw.extend("data", egw.MODULE_APP_LOCAL, function (_app, _wnd) {
_callback, _context, _knownUids)
{
var lm = lastModification;
if(typeof _context.lastModification != "undefined") lm = _context.lastModification;
if (_queriedRange["no_data"])
{
lm = 0xFFFFFFFFFFFF;