Adding the ability to quickly edit most fields. Other general clean up.
This commit is contained in:
@@ -87,7 +87,7 @@ export async function handle_load_ae_obj_li__event_presenter(
|
||||
use_alt_base: false, // NOTE: This will use the base_name_alt value instead of the base_name value
|
||||
enabled: enabled,
|
||||
hidden: hidden,
|
||||
order_by_li: {'priority': 'DESC', 'sort': 'DESC', 'updated_on': 'DESC', 'created_on': 'DESC'},
|
||||
order_by_li: {'priority': 'DESC', 'sort': 'DESC', 'given_name': 'ASC', 'family_name': 'ASC', 'updated_on': 'DESC', 'created_on': 'DESC'},
|
||||
limit: limit,
|
||||
offset: offset,
|
||||
params_json: params_json,
|
||||
@@ -177,13 +177,13 @@ export async function handle_update_ae_obj__event_presenter(
|
||||
{
|
||||
api_cfg,
|
||||
event_presenter_id,
|
||||
data,
|
||||
data_kv,
|
||||
params={},
|
||||
log_lvl=0
|
||||
}: {
|
||||
api_cfg: any,
|
||||
event_presenter_id: string,
|
||||
data: any,
|
||||
data_kv: any,
|
||||
params?: key_val,
|
||||
log_lvl?: number
|
||||
}
|
||||
@@ -194,7 +194,7 @@ export async function handle_update_ae_obj__event_presenter(
|
||||
api_cfg: api_cfg,
|
||||
obj_type: 'event_presenter',
|
||||
obj_id: event_presenter_id, // NOTE: This is the FQDN, not normally the ID.
|
||||
fields: data,
|
||||
fields: data_kv,
|
||||
key: api_cfg.api_crud_super_key,
|
||||
params: params,
|
||||
return_obj: true,
|
||||
|
||||
Reference in New Issue
Block a user