Skip to content

Commit

Permalink
[FIX][49] solve pager with search parameter (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
bizzappdev authored and elicoidal committed Dec 3, 2018
1 parent 0518279 commit 4fce5de
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions website_apps_store/controllers/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ def shop(self, page=0, category=None, search='', ppg=False, **post):
'=', post.get('maturity'))]

url = "/shop"
if search:
post["search"] = search
if attrib_list:
post['attrib'] = attrib_list

if category:
category = request.env['product.public.category'].browse(
int(category))
Expand Down

0 comments on commit 4fce5de

Please sign in to comment.