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:
@@ -365,7 +365,7 @@ export async function process_ae_obj__post_comment_props({
|
||||
sort_val
|
||||
}_${obj.updated_on ?? obj.created_on}`;
|
||||
obj.tmp_sort_2 = `${obj.group ?? ''}_${obj.priority ? '1' : '0'}_${
|
||||
(obj.sort ?? 0).toString().padStart(2, '0')
|
||||
sort_val
|
||||
}_${obj.updated_on}_${obj.created_on}`;
|
||||
|
||||
return obj;
|
||||
|
||||
Reference in New Issue
Block a user