Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--backup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/backup.py b/backup.py
index adab6b5..9360aed 100644
--- a/backup.py
+++ b/backup.py
@@ -396,7 +396,8 @@ class AsyncBackup(gobject.GObject):
"""Retrieve a list of all entries from the data store."""
if self._data_store.dbus_interface == DS_DBUS_INTERFACE2:
return self._data_store.find({}, {'metadata':
- ['tree_id', 'version_id'], 'all_versions': True},
+ ['parent_id', 'tree_id', 'version_id'], 'all_versions': True,
+ 'order_by': ['-timestamp']},
timeout=5*60, byte_arrays=True)
else:
return self._data_store.find({}, ['uid'], byte_arrays=True)