Skip to content
Permalink
Browse files

[FIX] website_slides: fix typo

  • Loading branch information...
tde-banana-odoo committed Feb 20, 2019
1 parent 2140ccb commit df6ddfec7c1f614c845c553d20d7ef4cc5d4fb63
Showing with 1 addition and 1 deletion.
  1. +1 −1 addons/website_slides/controllers/main.py
@@ -118,7 +118,7 @@ def _build_channel_domain(self, base_domain, slide_type=None, **post):
elif tags:
domain = expression.AND([domain, [('tag_ids', 'in', tags.ids)]])

if slide_type and 'nbr_%ss' % slide_type in request.env['slide.channel']:
if slide_type and 'nbr_%s' % slide_type in request.env['slide.channel']:
domain = expression.AND([domain, [('nbr_%s' % slide_type, '>', 0)]])
return domain

0 comments on commit df6ddfe

Please sign in to comment.
You can’t perform that action at this time.