Files
Epicnabbo-Catalogus-Updated…/src/app
openhands 86f3d82c5d feat: Add automatic database consistency fix to furniture imports
- Added fixDatabaseConsistencyAfterImport() function in furni-import.ts
  * Fills empty catalog_name from items_base.public_name
  * Sets have_offer = '1' where it was '0'
  * Returns counts of fixes applied

- Integrated fix into import flows:
  * src/app/api/admin/import/furni/route.ts (single & batch POST)
  * src/app/api/admin/import/furni/batch/route.ts (SSE batch POST)

- API responses now include:
  * catalogNameFixed: number of catalog names filled
  * haveOfferFixed: number of have_offer values fixed

- Ensures 100% catalog_name coverage and have_offer=1 after every import
- Typecheck, lint, and all 827 tests pass
2026-08-21 21:31:39 +02:00
..
2026-08-01 22:12:31 +02:00
2026-08-18 19:22:32 +02:00
2026-07-13 21:57:41 +02:00