mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04: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
c56efb4442
commit
4f10a2818f
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