KamoCRM

Drop hasDesignVersion and its per-row template lookup

PerformanceDocsService
Ya
22 Agosti 2026, 07:32 UTC
Mwandishi
Kamo
Ahadi ya
01e2ffd

Every document list ran an esign_templates lookup for EACH row — 100 per page — to answer "is this an original that happens to carry a design". That was how the Modified tab was built before versions existed. The tab is now its own query over modified_kind, nothing else ever read the field, and a search across all four repos found no other consumer. Also: a version that has been trashed and is then opened for editing again is restored rather than handed back trashed. The unique index means a second one of that kind can never be derived, so without this, trashing a version was a one-way door that looked like a bug — the member edits the row it hands back, saves, and it never reappears in the Modified tab, which lists only live rows. Opening something for editing is an unambiguous statement that it is wanted.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila kitu kinaingia kwenye tovuti yako mwenyewe. Anza kwenye mpango wa bure na usome ukurasa huu tena katika mwezi mmoja.

Kuwa Huru MileleMtazamo wa bei