fix param name
authorDaniel Gruno <humbedooh@apache.org>
Wed, 25 Oct 2017 11:25:00 +0000 (13:25 +0200)
committerDaniel Gruno <humbedooh@apache.org>
Wed, 25 Oct 2017 11:25:00 +0000 (13:25 +0200)
api/pages/mail/mood.py

index 554c0f7..bfdf8fe 100644 (file)
@@ -195,7 +195,7 @@ def run(API, environ, indata, session):
         
     # If we have a view enabled (and distinguish), compile local view against global view
     # Else, just copy global as local
-    if ss or not indata.get('distinguish'):
+    if ss or not indata.get('relative'):
         res = session.DB.ES.search(
                     index=session.DB.dbname,
                     doc_type="email",