Commits

Anonymous committed 537607e Draft

* fixed bug: entries used before assignment if not using pagination

Comments (0)

Files changed (1)

cmsplugin_feed/cms_plugins.py

                 except (EmptyPage, InvalidPage):
                     entries = feed_paginator.page(feed_paginator.num_pages)
             else:
+                entries = feed["entries"]
                 is_paginated = False
         context.update({
             'instance': instance,