[gnome-documents] sources: fix filter string for the 'all' source



commit 53a14985875b889e3c3bf39b0012054a199e4975
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu Aug 25 17:12:51 2011 -0400

    sources: fix filter string for the 'all' source

 src/sources.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/sources.js b/src/sources.js
index b7b8855..20c121e 100644
--- a/src/sources.js
+++ b/src/sources.js
@@ -66,7 +66,7 @@ Source.prototype = {
             return this._buildFilterLocal(subject);
 
         if (this.id == 'all')
-            return this._buildFilterLocal(subject) + ') || (' + this._buildFilterNotLocal(subject);
+            return this._buildFilterLocal(subject) + ' || ' + this._buildFilterNotLocal(subject);
 
         return this._buildFilterResource(subject);
     },



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]