def _right(self):
     projects = IProjectsTopic(self.context).get_projects_folder()
     topics = projects.get_projects_topics()
     for topic in topics:
         yield self.atomic(
             topic,
             fraglet(
                 fragletPath=self._project_path(topic),
                 fragletShowTitle=False,
                 fragletShowDescription=False,
                 fragletShowSummary=False,
                 fragletShowThumbnail=False,
                 fragletCssClass="tall-box",
                 listingBatchResults=True,
                 listingItemsPerPage=7,
                 itemShowTitle=True,
                 itemShowIcon=True,
                 itemShowGraphic="tile",
                 itemShowSummary=False,
                 itemShowDescription=True,
                 itemShowDownloadLink=True,
             ),
             hidden=True,
         )
     yield self.atomic("project-topics", multi_portlet(dict(portlets=topics, portlet_type="tabbed")))
 def getResults(self, **kwa):
     project_iface = 'bit.plone.project.subtypes.interfaces.IProjectSubtype'
     projects = IProjectsTopic(self.context).get_projects_folder()
     kwa['object_provides'] = project_iface
     kwa['path'] = projects.get_path()
     kwa['sort_on'] = 'sortable_title'
     max_items = kwa.get('max_items')
     if int(max_items or 0) == -1:
         return []
     return ICollectionResults(self.context).queryCatalog(**kwa)