Commits

Dmitriy Budashny committed 612b243

Fixed FAQ List Plugin

Comments (0)

Files changed (1)

cmsplugin_faq/cms_plugins.py

 
         #get all FaqEntryPlugin on this page and this language
         language = context.get('lang', settings.LANGUAGE_CODE)
-        plugins = instance.page.cmsplugin_set.filter(plugin_type='CMSFaqEntryPlugin', language=language)
+        plugins = instance.placeholder.cmsplugin_set.filter(plugin_type='CMSFaqEntryPlugin', language=language)
         
         faqentry_plugins = []