mirror of
https://github.com/thekiwismarthome/shopping-list-manager.git
synced 2026-08-29 11:24:42 +00:00
91cbc6018c
search_products() and find_product_substitutes() were ignoring the already-built self._search_engine and creating a brand new ProductSearch instance on every call — serialising every product to dict and re-initialising the fuzzy engine each time. They now use self._search_engine directly. The engine is already kept up-to-date by add_product / update_product / delete_product, so no correctness change is needed. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>