Now with file counts on the search results! Done for the day.

This commit is contained in:
Scott Idem
2024-06-21 16:57:43 -04:00
parent ecf2b3eca8
commit 5211f83f23
3 changed files with 16 additions and 2 deletions

View File

@@ -1687,6 +1687,8 @@ function handle_db_save_ae_obj_li__event_session({obj_type, obj_li}) {
// From SQL view
file_count: obj.file_count,
file_count_all: obj.file_count_all,
internal_use_count: obj.internal_use_count,
poc_person_given_name: obj.poc_person_given_name,
poc_person_family_name: obj.poc_person_family_name,

View File

@@ -278,7 +278,9 @@ export interface Session {
updated_on: null|Date;
// Additional fields for convenience (database views)
file_count: null|number;
file_count: null|number; // Only files directly under a session
file_count_all: null|number; // All files under a session
internal_use_count: null|number; // Files marked for internal use
poc_person_given_name: null|string;
poc_person_family_name: null|string;