Work on better sorting for the IDAA BB posts. Using generated tmp field. Date formats standardized.

This commit is contained in:
Scott Idem
2024-12-11 15:34:44 -05:00
parent eee8a67235
commit 3fef19488c
7 changed files with 23 additions and 12 deletions

View File

@@ -714,6 +714,9 @@ export function db_save_ae_obj_li__post(
created_on: obj.created_on,
updated_on: obj.updated_on,
tmp_sort_1: `${obj.group}_${obj.priority}_${obj.sort}_${obj.updated_on}_${obj.created_on}`,
tmp_sort_2: `${obj.group}_${obj.priority}_${obj.sort}_${obj.created_on}_${obj.updated_on}`,
// From SQL view
post_comment_count: obj.post_comment_count,