changeset 1087:5d179a3dac50

pages (blog, files): use new local_device argument of discoFindByFeatures
author Goffi <goffi@goffi.org>
date Wed, 23 May 2018 21:55:13 +0200
parents 2566f17a0e59
children 35f6a46d7ff1
files src/pages/blog/page_meta.py src/pages/files/page_meta.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/pages/blog/page_meta.py	Mon Apr 02 10:39:55 2018 +0200
+++ b/src/pages/blog/page_meta.py	Wed May 23 21:55:13 2018 +0200
@@ -17,7 +17,7 @@
     profile = self.getProfile(request)
     template_data = request.template_data
     if profile is not None:
-        __, entities_own, entities_roster = yield self.host.bridgeCall('discoFindByFeatures', [], [(u'pubsub', u'pep')], True, False, True, True, profile)
+        __, entities_own, entities_roster = yield self.host.bridgeCall('discoFindByFeatures', [], [(u'pubsub', u'pep')], True, False, True, True, True, profile)
         entities = template_data[u'disco_entities'] = entities_own.keys() + entities_roster.keys()
         entities_url = template_data[u'entities_url'] = {}
         identities = template_data[u'identities'] = self.host.getSessionData(request, session_iface.ISATSession).identities
--- a/src/pages/files/page_meta.py	Mon Apr 02 10:39:55 2018 +0200
+++ b/src/pages/files/page_meta.py	Wed May 23 21:55:13 2018 +0200
@@ -18,7 +18,7 @@
     profile = self.getProfile(request)
     template_data = request.template_data
     namespace = self.host.ns_map['fis']
-    entities_services, entities_own, entities_roster = yield self.host.bridgeCall('discoFindByFeatures', [namespace], [], False, True, True, True, profile)
+    entities_services, entities_own, entities_roster = yield self.host.bridgeCall('discoFindByFeatures', [namespace], [], False, True, True, True, False, profile)
     tpl_service_entities = template_data['disco_service_entities'] = {}
     tpl_own_entities = template_data['disco_own_entities'] = {}
     tpl_roster_entities = template_data['disco_roster_entities'] = {}