Now with updated POC edit and other
This commit is contained in:
@@ -356,17 +356,19 @@ async function handle_search__event_session(
|
||||
event_id,
|
||||
fulltext_search_qry_str,
|
||||
ft_presenter_search_qry_str,
|
||||
like_search_qry_str=null,
|
||||
like_presenter_search_qry_str=null,
|
||||
params={},
|
||||
try_cache=true,
|
||||
log_lvl=0
|
||||
like_search_qry_str = null,
|
||||
like_presentation_search_qry_str = null,
|
||||
like_presenter_search_qry_str = null,
|
||||
params = {},
|
||||
try_cache = true,
|
||||
log_lvl = 0
|
||||
}: {
|
||||
api_cfg: any,
|
||||
event_id: any,
|
||||
fulltext_search_qry_str: null|string,
|
||||
ft_presenter_search_qry_str: null|string,
|
||||
like_search_qry_str: null|string,
|
||||
like_presentation_search_qry_str: null|string,
|
||||
like_presenter_search_qry_str: null|string,
|
||||
params: any,
|
||||
try_cache: boolean,
|
||||
@@ -410,11 +412,14 @@ async function handle_search__event_session(
|
||||
// }
|
||||
|
||||
// Use the AND (OR LIKE) query
|
||||
if (like_search_qry_str || like_presenter_search_qry_str) {
|
||||
if (like_search_qry_str || like_presentation_search_qry_str || like_presenter_search_qry_str) {
|
||||
params_json['or_like'] = {};
|
||||
if (like_search_qry_str && like_search_qry_str.length > 2) {
|
||||
params_json['or_like']['default_qry_str'] = like_search_qry_str;
|
||||
}
|
||||
if (like_presentation_search_qry_str && like_presentation_search_qry_str.length > 2) {
|
||||
params_json['or_like']['event_presentation_li_qry_str'] = like_presentation_search_qry_str;
|
||||
}
|
||||
if (like_presenter_search_qry_str && like_presenter_search_qry_str.length > 2) {
|
||||
params_json['or_like']['event_presenter_li_qry_str'] = like_presenter_search_qry_str;
|
||||
}
|
||||
@@ -852,13 +857,13 @@ async function handle_search__event_badge(
|
||||
{
|
||||
api_cfg,
|
||||
event_id,
|
||||
type_code=null,
|
||||
type_code = null,
|
||||
fulltext_search_qry_str,
|
||||
like_search_qry_str=null,
|
||||
like_search_qry_str = null,
|
||||
external_event_id,
|
||||
params={},
|
||||
try_cache=true,
|
||||
log_lvl=0
|
||||
params = {},
|
||||
try_cache = true,
|
||||
log_lvl = 0
|
||||
}: {
|
||||
api_cfg: any,
|
||||
event_id: any,
|
||||
|
||||
@@ -159,6 +159,7 @@ $: if ($events_trigger == 'load__event_session_obj_li' && $events_slct.event_id)
|
||||
fulltext_search_qry_str: ft_search_str_new,
|
||||
ft_presenter_search_qry_str: null,
|
||||
like_search_qry_str: lk_search_str_new,
|
||||
like_presentation_search_qry_str: lk_search_str_new,
|
||||
like_presenter_search_qry_str: lk_search_str_new,
|
||||
// external_event_id: $events_loc.pres_mgmt.default__external_registration_id,
|
||||
params: params,
|
||||
@@ -183,6 +184,7 @@ $: if ($events_trigger == 'load__event_session_obj_li' && $events_slct.event_id)
|
||||
fulltext_search_qry_str: ft_search_str_new,
|
||||
ft_presenter_search_qry_str: null,
|
||||
like_search_qry_str: lk_search_str_new,
|
||||
like_presentation_search_qry_str: lk_search_str_new,
|
||||
like_presenter_search_qry_str: lk_search_str_new,
|
||||
// external_event_id: $events_loc.pres_mgmt.default__external_registration_id,
|
||||
params: params,
|
||||
|
||||
Reference in New Issue
Block a user