mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Add resched to tags
This commit is contained in:
parent
947260e4aa
commit
bc81165be4
1 changed files with 2 additions and 4 deletions
|
@ -371,6 +371,7 @@ fn parse_prop(s: &str) -> ParseResult<SearchNode> {
|
||||||
tag("ease"),
|
tag("ease"),
|
||||||
tag("pos"),
|
tag("pos"),
|
||||||
tag("rated"),
|
tag("rated"),
|
||||||
|
tag("resched"),
|
||||||
))(s)
|
))(s)
|
||||||
.map_err(|_| parse_failure(s, FailKind::InvalidPropProperty(s.into())))?;
|
.map_err(|_| parse_failure(s, FailKind::InvalidPropProperty(s.into())))?;
|
||||||
|
|
||||||
|
@ -460,10 +461,7 @@ fn parse_prop(s: &str) -> ParseResult<SearchNode> {
|
||||||
));
|
));
|
||||||
};
|
};
|
||||||
|
|
||||||
Ok(SearchNode::Property {
|
Ok(SearchNode::Property { operator, kind })
|
||||||
operator: operator.to_string(),
|
|
||||||
kind,
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// eg added:1
|
/// eg added:1
|
||||||
|
|
Loading…
Reference in a new issue