Fix stability search query

This commit is contained in:
Damien Elmes 2023-10-20 14:07:03 +10:00
parent 3394ab02e7
commit 80d807e08a

View File

@ -156,7 +156,10 @@ export function prepareIntervalData(
function onClick(bin: Bin<number, number>): void {
const start = bin.x0!;
const end = bin.x1! - 1;
const query = makeQuery(start, end);
let query = makeQuery(start, end);
if (fsrs) {
query = query.replace(/ivl/g, "s");
}
dispatch("search", { query });
}