addons-cm/website_sale_aplicoop/static/src/js
snt 40ce973bd6 [FIX] website_sale_aplicoop: Complete infinite scroll and search filter integration
Major fixes:
- Fix JSON body parsing in load_products_ajax with type='http' route
  * Parse JSON from request.httprequest.get_data() instead of post params
  * Correctly read page, search, category from JSON request body

- Fix search and category filter combination
  * Use intersection (&) instead of replacement to preserve both filters
  * Now respects search AND category simultaneously

- Integrate realtime_search.js with infinite_scroll.js
  * Add resetWithFilters() method to reset scroll to page 1 with new filters
  * When search/category changes, reload products from server
  * Clear grid and load fresh results

- Fix pagination reset logic
  * Set currentPage = 0 in resetWithFilters() so loadNextPage() increments to 1
  * Prevents loading empty page 2 when resetting filters

Results:
✅ Infinite scroll loads all pages correctly (1, 2, 3...)
✅ Search filters work across all products (not just loaded)
✅ Category filters work correctly
✅ Search AND category filters work together
✅ Page resets to 1 when filters change
2026-02-17 01:26:20 +01:00
..
checkout_labels.js Aplicoop desde el repo de kidekoop 2026-02-11 15:32:11 +01:00
checkout_summary.js Aplicoop desde el repo de kidekoop 2026-02-11 15:32:11 +01:00
home_delivery.js Aplicoop desde el repo de kidekoop 2026-02-11 15:32:11 +01:00
i18n_helpers.js Aplicoop desde el repo de kidekoop 2026-02-11 15:32:11 +01:00
i18n_manager.js Aplicoop desde el repo de kidekoop 2026-02-11 15:32:11 +01:00
infinite_scroll.js [FIX] website_sale_aplicoop: Complete infinite scroll and search filter integration 2026-02-17 01:26:20 +01:00
realtime_search.js [FIX] website_sale_aplicoop: Complete infinite scroll and search filter integration 2026-02-17 01:26:20 +01:00
website_sale.js [DOC] website_sale_aplicoop: Add lazy loading documentation and implement v18.0.1.3.0 feature 2026-02-16 18:39:39 +01:00