fix(idaa): resolve broken reactivity and sorting in Archive modules
- Fixed ReferenceError in Archive Content liveQuery (variable name mismatch).
- Corrected main Archive list sorting by removing incorrect .reverse() call.
- Implemented robust in-memory sorting for Archive Content to handle mixed directions (Group DESC + Sort ASC).
- Simplified dependency tracking in Svelte 5 derivations to prevent empty list flickers.
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
.equals($slct.account_id)
|
||||
// .orderBy('updated_on')
|
||||
// .toArray()
|
||||
.reverse()
|
||||
// .reverse() // Removed reverse: sortBy('sort') already provides the correct 1, 2, 3... order
|
||||
.sortBy('sort');
|
||||
// .sortBy('updated_on');
|
||||
// .sortBy('updated_on, created_on');
|
||||
|
||||
Reference in New Issue
Block a user