The sorting now works and some missing fields were added.
This commit is contained in:
@@ -12,7 +12,7 @@ const ae_promises: key_val = {};
|
||||
export async function load_ae_obj_id__event_badge({
|
||||
api_cfg,
|
||||
event_badge_id,
|
||||
view = 'default',
|
||||
view = 'base',
|
||||
inc_template = true,
|
||||
try_cache = true,
|
||||
log_lvl = 0
|
||||
@@ -431,7 +431,7 @@ export async function search__event_badge({
|
||||
external_event_id = null,
|
||||
enabled = 'enabled',
|
||||
hidden = 'not_hidden',
|
||||
view = 'default',
|
||||
view = 'base',
|
||||
limit = 25,
|
||||
offset = 0,
|
||||
order_by_li = {
|
||||
|
||||
@@ -176,6 +176,10 @@ export interface Badge {
|
||||
tmp_sort_1?: null | string;
|
||||
tmp_sort_2?: null | string;
|
||||
|
||||
print_count?: null | number;
|
||||
print_first_datetime?: null | Date | string;
|
||||
print_last_datetime?: null | Date | string;
|
||||
|
||||
// Additional fields for convenience (database views)
|
||||
person_external_id?: null | string; // This may be semi-random or unique only withing the account.
|
||||
person_external_sys_id?: null | string; // Generated by an external system. Ideally this should be something like a UUID. It may be the same as the external_id if nothing given.
|
||||
@@ -816,6 +820,7 @@ export class MySubClassedDexie extends Dexie {
|
||||
default_qry_string,
|
||||
alert,
|
||||
tmp_sort_1, tmp_sort_2,
|
||||
print_count, print_first_datetime, print_last_datetime,
|
||||
enable, hide, priority, sort, group, notes, created_on, updated_on`,
|
||||
|
||||
badge_template: `
|
||||
|
||||
Reference in New Issue
Block a user