Implemented 'only_priority' filtering for V3 Lookups.
- Updated V3 lookup API and core timezone loader to support the 'only_priority' flag. - Enabled high-priority timezone filtering in IDAA Recovery Meeting and Archive editors to streamline selection lists.
This commit is contained in:
@@ -15,6 +15,7 @@ export async function get_ae_lookup_li_v3({
|
||||
for_type,
|
||||
for_id,
|
||||
include_disabled = false,
|
||||
only_priority = false,
|
||||
params = {},
|
||||
headers = {},
|
||||
log_lvl = 0
|
||||
@@ -25,6 +26,7 @@ export async function get_ae_lookup_li_v3({
|
||||
for_type?: string;
|
||||
for_id?: string;
|
||||
include_disabled?: boolean;
|
||||
only_priority?: boolean;
|
||||
params?: key_val;
|
||||
headers?: Record<string, string>;
|
||||
log_lvl?: number;
|
||||
@@ -40,6 +42,7 @@ export async function get_ae_lookup_li_v3({
|
||||
if (for_type) params['for_type'] = for_type;
|
||||
if (for_id) params['for_id'] = for_id;
|
||||
if (include_disabled) params['include_disabled'] = true;
|
||||
if (only_priority) params['only_priority'] = true;
|
||||
|
||||
// Lookup data is often global; ensure account context is handled if needed,
|
||||
// but GUIDE says it uses site Whitelist Policy.
|
||||
|
||||
Reference in New Issue
Block a user