fix search ("contains" query, UpObject params bug)

feat/vaults
Tomáš Mládek 2022-01-30 16:20:02 +01:00
parent fa5626af4f
commit 34847f3321
No known key found for this signature in database
GPG Key ID: ED21612889E75EC5
2 changed files with 2 additions and 2 deletions

View File

@ -303,7 +303,7 @@ impl Query {
} }
} }
QueryComponent::Contains(q_value) => subqueries QueryComponent::Contains(q_value) => subqueries
.push(Box::new(data::value_str.like(format!("J%{}%", q_value)))), .push(Box::new(data::value_str.like(format!("S%{}%", q_value)))),
QueryComponent::Any => {} QueryComponent::Any => {}
}; };

View File

@ -37,7 +37,7 @@
// Navigation highlights // Navigation highlights
const index = const index =
(getContext("browse") as { index: Readable<number> })?.index || undefined; (getContext("browse") as { index: Readable<number> })?.index || undefined;
$: addresses = $params.addresses.split(","); $: addresses = $params.addresses?.split(",") || [];
// Native open // Native open
function nativeOpen() { function nativeOpen() {