Standardize on Licensed Exhibit Leads User (licensee) terminology
- Renamed all staff-related fields and variables to 'licensee'. - Implemented correct filtering logic for Aether Admins (default All, hide My). - Implemented correct filtering for booth users (default My, show colleagues). - Populated dropdown labels with Full Names from license_li_json. - Removed 'Shared Passcode' from the Lead List filter.
This commit is contained in:
@@ -307,6 +307,7 @@ export async function create_ae_obj__exhibit_tracking({
|
||||
exhibit_id,
|
||||
event_badge_id,
|
||||
external_person_id,
|
||||
group,
|
||||
try_cache = true,
|
||||
log_lvl = 0
|
||||
}: {
|
||||
@@ -314,6 +315,7 @@ export async function create_ae_obj__exhibit_tracking({
|
||||
exhibit_id: string;
|
||||
event_badge_id: string;
|
||||
external_person_id: string;
|
||||
group?: string;
|
||||
try_cache?: boolean;
|
||||
log_lvl?: number;
|
||||
}): Promise<ae_EventExhibitTracking | null> {
|
||||
@@ -323,7 +325,8 @@ export async function create_ae_obj__exhibit_tracking({
|
||||
fields: {
|
||||
event_exhibit_id: exhibit_id,
|
||||
event_badge_id: event_badge_id,
|
||||
external_person_id
|
||||
external_person_id,
|
||||
group
|
||||
},
|
||||
log_lvl
|
||||
});
|
||||
@@ -427,6 +430,8 @@ export async function search__exhibit_tracking({
|
||||
event_id,
|
||||
event_exhibit_id,
|
||||
fulltext_search_qry_str = null,
|
||||
qry_group = null,
|
||||
qry_external_person_id = null,
|
||||
enabled = 'enabled',
|
||||
hidden = 'all',
|
||||
view = 'default',
|
||||
@@ -440,6 +445,8 @@ export async function search__exhibit_tracking({
|
||||
event_id: string;
|
||||
event_exhibit_id: string;
|
||||
fulltext_search_qry_str?: string | null;
|
||||
qry_group?: string | null;
|
||||
qry_external_person_id?: string | null;
|
||||
enabled?: 'enabled' | 'all' | 'not_enabled';
|
||||
hidden?: 'hidden' | 'all' | 'not_hidden';
|
||||
view?: string;
|
||||
@@ -461,6 +468,9 @@ export async function search__exhibit_tracking({
|
||||
]
|
||||
};
|
||||
|
||||
if (qry_group) search_query.and.push({ field: 'group', op: 'eq', value: qry_group });
|
||||
if (qry_external_person_id) search_query.and.push({ field: 'external_person_id', op: 'eq', value: qry_external_person_id });
|
||||
|
||||
if (enabled === 'enabled') search_query.and.push({ field: 'enable', op: 'eq', value: 1 });
|
||||
else if (enabled === 'not_enabled') search_query.and.push({ field: 'enable', op: 'eq', value: 0 });
|
||||
|
||||
|
||||
@@ -231,6 +231,7 @@ const events_local_data_struct: key_val = {
|
||||
tracking__qry__remote_first: false,
|
||||
tracking__qry__search_text: '',
|
||||
tracking__qry__sort_order: 'created_desc',
|
||||
tracking__qry__licensee_email: 'all',
|
||||
|
||||
// The entered_passcode is the exhibit booths shared passcode for staff. This is used to initially access the lead retrieval service.
|
||||
entered_passcode: null,
|
||||
|
||||
Reference in New Issue
Block a user