mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 22:13:58 -05:00
Fix incorrect search being used when evaluating parameters
https://forums.ankiweb.net/t/anki-23-12-beta/37771/89
This commit is contained in:
parent
9107084f4a
commit
6f75b2eee2
1 changed files with 3 additions and 2 deletions
|
|
@ -133,8 +133,9 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
try {
|
||||
await runWithBackendProgress(
|
||||
async () => {
|
||||
const search =
|
||||
$config.weightSearch ?? `preset:"${state.getCurrentName()}"`;
|
||||
const search = $config.weightSearch
|
||||
? $config.weightSearch
|
||||
: defaultWeightSearch;
|
||||
const resp = await evaluateWeights({
|
||||
weights: $config.fsrsWeights,
|
||||
search,
|
||||
|
|
|
|||
Loading…
Reference in a new issue