[gnome-documents] model: properly set the resource filter when populating the overview
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] model: properly set the resource filter when populating the overview
- Date: Tue, 2 Aug 2011 17:52:45 +0000 (UTC)
commit 3eca96211284d8ab437a5ac1323e64618f5699e7
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Aug 2 19:50:40 2011 +0200
model: properly set the resource filter when populating the overview
Call setAccountFilter() on the model to ensure the filter is set for
non-local resources too.
src/trackerModel.js | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/trackerModel.js b/src/trackerModel.js
index 5d19bd7..348a31f 100644
--- a/src/trackerModel.js
+++ b/src/trackerModel.js
@@ -499,13 +499,10 @@ TrackerModel.prototype = {
},
populateForOverview: function(resourceUrn, filter) {
- this.model.clear();
-
- this._resourceUrn = resourceUrn;
this.offset = 0;
this._filter = filter;
- this._performCurrentQuery();
+ this.setAccountFilter(resourceUrn);
},
loadMore: function() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]