Making the max person results sticky

This commit is contained in:
Scott Idem
2025-06-10 17:55:46 -04:00
parent 8c51380fb5
commit e0f0b774ef
7 changed files with 13 additions and 11 deletions

View File

@@ -618,6 +618,7 @@ let properties_to_save = [
// From SQL view
'username',
// 'user_username', // Same as username
'user_name',
'user_email',
'user_allow_auth_key', // For sign in without password
@@ -755,7 +756,7 @@ export async function process_ae_obj__person_props(
// tmp_sort_2: `${obj.group}_${obj.original_datetime}_${obj.priority}_${obj.sort}`,
// From SQL view
username: obj.username,
username: obj.username, // Same as user_username
user_name: obj.user_name,
user_email: obj.user_email,
user_allow_auth_key: obj.user_allow_auth_key, // For sign in without password

View File

@@ -101,7 +101,8 @@ export interface Person {
tmp_sort_3?: null|string;
// Additional fields for convenience (database views)
username?: string;
username?: string; // Same as user_username
// user_username?: null|string; // Same as username
user_name?: null|string;
user_email?: null|string;
user_allow_auth_key?: null|boolean; // For sign in without password