- Add buildCompaniesFilter() returning id > 0 in lib/utils/sync-helpers.ts - Route COMPANIES through buildCompaniesFilter on full sync instead of the generic buildActiveFilter (which applied isActive=true and missed inactive companies with tickets, causing tickets_company_id_fkey on weekly-full and full syncs since 2026-05-15) - hasAppliedFilters stays true (filter is non-empty), so soft-delete of companies is not triggered |
||
|---|---|---|
| .. | ||
| api-helpers.ts | ||
| db-helpers.ts | ||
| device-lookup.ts | ||
| entity-mapper.ts | ||
| issue-type-helper.ts | ||
| logger.ts | ||
| openclaw-auth.ts | ||
| sync-helpers.ts | ||
| sync-logger.ts | ||