The sorting now works and some missing fields were added.

This commit is contained in:
Scott Idem
2026-01-05 18:29:41 -05:00
parent 17589596bc
commit bb6b3b7352
3 changed files with 8 additions and 170 deletions

View File

@@ -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: `