noosfero | Fix product categories listing problem (!1055)

Rodrigo Souto gitlab at mg.gitlab.com
Tue Jan 17 13:07:38 BRST 2017


New comment for Merge Request !1055 on plugins/products/lib/products_plugin/base.rb:

https://gitlab.com/noosfero/noosfero/merge_requests/1055#note_21543824

>        [EnterpriseHomepage] if context.kind_of?(Enterprise)
>      end
>  
> +    def extra_categories

These categories should be filtered by environment. Something like: `environment.categories.where(type: 'ProductCategory')`.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20170117/80606172/attachment.html>


More information about the Noosfero-dev mailing list