added cache_policy persists

This commit is contained in:
javi 2013-12-19 12:14:25 +01:00
parent 6bc0bcaf45
commit 7bcb2ef2f2

View File

@ -497,6 +497,7 @@
if (!data) return; if (!data) return;
self.options.extra_params = self.options.extra_params || {}; self.options.extra_params = self.options.extra_params || {};
self.options.extra_params.last_updated = data.updated_at || 0; self.options.extra_params.last_updated = data.updated_at || 0;
self.options.extra_params.cache_policy = 'persist';
self.options.is_time = data.fields[self.options.column].type === 'date'; self.options.is_time = data.fields[self.options.column].type === 'date';
var column_conv = self.options.column; var column_conv = self.options.column;