Working on making the Journal Entry search work correctly. There were/are some difference between the front and backend. Mainly it was not expecting not_enabled. It was expecting disabled. That has been changed on the backend. There is still some weirdness with the "all" options for either the enable and or hide fields.

This commit is contained in:
Scott Idem
2026-01-21 20:29:40 -05:00
parent 6e6e8d80cc
commit f190beb691
5 changed files with 34 additions and 20 deletions

View File

@@ -73,6 +73,8 @@
if ($journals_trig.journal_entry_qry) {
$journals_trig.journal_entry_qry = false;
log_lvl = 1;
if (log_lvl) {
console.log(
`Triggered: $journals_trig.journal_entry_qry: ${$journals_loc.qry__search_text}`
@@ -90,10 +92,10 @@
// qry_priority: null,
// qry_type: and_type,
// enabled: $journals_loc.recovery_meetings.qry__enabled,
// hidden: $journals_loc.recovery_meetings.qry__hidden,
// order_by_li: $journals_loc.recovery_meetings.qry__order_by_li,
// limit: $journals_loc.recovery_meetings.qry__limit,
enabled: 'enabled', // $journals_loc.qry__enabled,
hidden: 'not_hidden', // $journals_loc.qry__hidden,
// order_by_li: $journals_loc.qry__order_by_li,
// limit: $journals_loc.qry__limit,
// try_cache: try_cache,
log_lvl: log_lvl
});