The event search now mostly works.

This commit is contained in:
Scott Idem
2024-10-01 13:36:50 -04:00
parent d7284d5010
commit cca43b957a
4 changed files with 482 additions and 10 deletions

View File

@@ -74,6 +74,7 @@ export async function load_ae_obj_li__event(
for_obj_type = 'account',
for_obj_id,
qry_conference = true,
qry_str = null,
inc_file_li = false,
inc_location_li = false,
inc_presentation_li = false,
@@ -88,6 +89,7 @@ export async function load_ae_obj_li__event(
for_obj_type: string,
for_obj_id: string,
qry_conference?: boolean,
qry_str?: null|string,
inc_file_li?: boolean,
inc_location_li?: boolean,
inc_presentation_li?: boolean,
@@ -113,6 +115,15 @@ export async function load_ae_obj_li__event(
if (qry_conference) {
params_json['and_qry']['conference'] = qry_conference;
} else if (qry_conference === false) {
params_json['and_qry']['conference'] = qry_conference;
}
if (qry_str) {
params_json['ft_qry'] = {};
params_json['ft_qry']['default_qry_str'] = qry_str;
params_json['ft_qry']['location_address_json_ext'] = qry_str;
params_json['ft_qry']['contact_li_json_ext'] = qry_str;
}
// console.log('params_json:', params_json);

View File

@@ -3,6 +3,7 @@ import { writable } from 'svelte/store';
import type { Writable } from 'svelte/store';
import type { key_val } from '$lib/ae_stores';
import { offset } from '@floating-ui/dom';
// Set the version for the app data. Changing this should force a notification and ask the user to clear and reload the page.
let ver = '2024-08-21_1646';
@@ -37,15 +38,25 @@ let idaa_local_data_struct: key_val = {
'qry__offset': 0,
archives: {
enabled: 'enabled', // all, disabled, enabled
hidden: 'not_hidden', // all, hidden, not_hidden
limit: 150,
offset: 0,
},
bb: {
enabled: 'enabled', // all, disabled, enabled
hidden: 'not_hidden', // all, hidden, not_hidden
limit: 150,
offset: 0,
show_list__post_obj_li: true,
},
recovery_meetings: {
enabled: 'enabled', // all, disabled, enabled
hidden: 'not_hidden', // all, hidden, not_hidden
limit: 150,
offset: 0,
},
};
// console.log(`AE Stores - App IDAA Local Storage Data:`, idaa_local_data_struct);
@@ -67,15 +78,16 @@ let idaa_session_data_struct: key_val = {
log_lvl: 1,
archives: {
qry__status: null,
},
bb: {
qry__status: null,
},
recovery_meetings: {
qry__status: null,
qry__fulltext_str: null,
},
};