summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorJulien Castiaux <juc@odoo.com>2019-07-15 13:43:12 +0000
committerJulien Castiaux <juc@odoo.com>2019-07-15 14:08:09 +0000
commit30b9a590fc09c479f357e72c2d3884fd8b946c44 (patch)
treea9121f5980b996b801b04c565223352dd8686b24 /addons/web/static/src/js/views/basic/basic_controller.js
parentd5dd136ba03bc906f568f429060ab2136e5f06aa (diff)
[FIX] website_sale: reuse category on attr change
Enable "eCommerce Categories" in the website shop customize menu, select a category, sort by catalog price, filter on an attribute, the category is lost. When you sort the records, the url changes from `shop/category/x` to `shop?category=x`. As the attribute form is a plain get action, the elements from the query string are lost. We include the category in an hidden input so it is used by the get. opw-2032477 closes #34603 closes odoo/odoo#34877 Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions