addons-cm/website_sale_aplicoop/controllers
snt 7b343ef198 [FIX] website_sale_aplicoop: Fix category filter ignoring blacklists
Critical fix for category filter in product discovery:

- BREAKING BUG: Category filter was doing a new search() that
  completely ignored product/supplier/category blacklists
- FIX: Now filters from filtered_products (which has blacklists applied)
  instead of doing a fresh search() from database
- This ensures blacklist rules are ALWAYS respected

Added detailed logging for debugging empty category results:
- Log collected category IDs (including children)
- Log before/after product counts
- If result is empty, log sample product categories to help debug
- Helps identify configuration issues vs code bugs

This fixes user report: 'no muestra ningún producto' in some categories
The issue was that filtered products were being replaced with a fresh
search that bypassed all blacklist filters.
2026-02-23 16:09:29 +01:00
..
__init__.py Aplicoop desde el repo de kidekoop 2026-02-11 15:32:11 +01:00
portal.py [REF] Code quality improvements and structure fixes 2026-02-21 13:51:25 +01:00
website_sale.py [FIX] website_sale_aplicoop: Fix category filter ignoring blacklists 2026-02-23 16:09:29 +01:00