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("pos"),
|
||||
tag("rated"),
|
||||
tag("resched"),
|
||||
))(s)
|
||||
.map_err(|_| parse_failure(s, FailKind::InvalidPropProperty(s.into())))?;
|
||||
|
||||
|
@ -460,10 +461,7 @@ fn parse_prop(s: &str) -> ParseResult<SearchNode> {
|
|||
));
|
||||
};
|
||||
|
||||
Ok(SearchNode::Property {
|
||||
operator: operator.to_string(),
|
||||
kind,
|
||||
})
|
||||
Ok(SearchNode::Property { operator, kind })
|
||||
}
|
||||
|
||||
/// eg added:1
|
||||
|
|
Loading…
Reference in a new issue