Now with file counts on the search results! Done for the day.
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user