General clean up. Better sorting for the IDAA Archives and BB Posts and Comments

This commit is contained in:
Scott Idem
2025-08-12 13:24:03 -04:00
parent 2f19422c72
commit 0ecb9d15b0
8 changed files with 24 additions and 24 deletions

View File

@@ -67,7 +67,10 @@ let lq__post_comment_obj_li = $derived(liveQuery(async () => {
.where('post_id')
.equals($idaa_slct.post_id ?? '') // null or undefined does not reset things like '' does
.reverse()
.sortBy('updated_on');
.limit($idaa_loc.bb.qry__limit)
.sortBy('tmp_sort_1');
// .sortBy('created_on');
// .sortBy('updated_on');
// .sortBy('title');
if ($idaa_slct.post_comment_obj_li && JSON.stringify($idaa_slct.post_comment_obj_li) !== JSON.stringify(results)) {