From 68b31471262cc498f99abfa9183865e7dca2adb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20G=C3=B6ttsch?= Date: Mon, 14 Oct 2024 08:37:43 +0200 Subject: [PATCH] [fix] nfu_ecommerce: broken filter - pass arguments to super again --- nfu_ecommerce/README.rst | 1 + nfu_ecommerce/__manifest__.py | 2 +- nfu_ecommerce/controllers/main.py | 4 +++- nfu_ecommerce/readme/HISTORY.rst | 3 ++- nfu_ecommerce/static/description/index.html | 2 ++ 5 files changed, 9 insertions(+), 3 deletions(-) diff --git a/nfu_ecommerce/README.rst b/nfu_ecommerce/README.rst index 1c8b81e..af6a9a5 100644 --- a/nfu_ecommerce/README.rst +++ b/nfu_ecommerce/README.rst @@ -38,6 +38,7 @@ Changelog :0.0.1: Initial module. :1.0.0: Live :1.1.0: Add Open Packagings Filter and fix rounding issue +:1.1.1: Pass arguemnts to super again Bug Tracker =========== diff --git a/nfu_ecommerce/__manifest__.py b/nfu_ecommerce/__manifest__.py index 72f20fe..699e5fc 100644 --- a/nfu_ecommerce/__manifest__.py +++ b/nfu_ecommerce/__manifest__.py @@ -4,7 +4,7 @@ "author": "BAKEUP", "website": "https://www.bakeup.org", "category": "website", - "version": "16.0.1.1.0", + "version": "16.0.1.1.1", "depends": ["website_sale", "nfu_sale_order_batch_packaging", "website_decimal_quantity"], "data": ["views/product_template_views.xml", "views/templates.xml"], "assets": {"web.assets_frontend": ["nfu_ecommerce/static/src/js/website_sale.js"]}, diff --git a/nfu_ecommerce/controllers/main.py b/nfu_ecommerce/controllers/main.py index 899585e..217ba46 100644 --- a/nfu_ecommerce/controllers/main.py +++ b/nfu_ecommerce/controllers/main.py @@ -55,5 +55,7 @@ class WebsiteSale(WebsiteSale): post["open_product_ids"] = open_product_ids else: post["open_product_ids"] = None - res = super().shop(page=0, category=None, search="", min_price=0.0, max_price=0.0, ppg=False, **post) + res = super().shop( + page=page, category=category, search=search, min_price=min_price, max_price=max_price, ppg=ppg, **post + ) return res diff --git a/nfu_ecommerce/readme/HISTORY.rst b/nfu_ecommerce/readme/HISTORY.rst index 5e4a8d0..dbcabc5 100644 --- a/nfu_ecommerce/readme/HISTORY.rst +++ b/nfu_ecommerce/readme/HISTORY.rst @@ -1,3 +1,4 @@ :0.0.1: Initial module. :1.0.0: Live -:1.1.0: Add Open Packagings Filter and fix rounding issue \ No newline at end of file +:1.1.0: Add Open Packagings Filter and fix rounding issue +:1.1.1: Pass arguemnts to super again \ No newline at end of file diff --git a/nfu_ecommerce/static/description/index.html b/nfu_ecommerce/static/description/index.html index 2f4c5c6..b3946cc 100644 --- a/nfu_ecommerce/static/description/index.html +++ b/nfu_ecommerce/static/description/index.html @@ -399,6 +399,8 @@ and after the current order.

1.1.0:Add Open Packagings Filter and fix rounding issue +1.1.1:Pass arguemnts to super again +