ui: add "is:" alias for "flags:" query
parent
6ce88667c0
commit
35e34d1c09
|
@ -144,7 +144,10 @@ pub mod query_parser {
|
|||
|
||||
fn flags<'a>() -> impl Parser<'a, Query> {
|
||||
move |input| {
|
||||
whitespace_wrap(match_literal_anycase("flags:"))
|
||||
whitespace_wrap(either(
|
||||
match_literal_anycase("flags:"),
|
||||
match_literal_anycase("is:"),
|
||||
))
|
||||
.parse(input)
|
||||
.and_then(|(rest, _)| {
|
||||
map(one_or_more(pred(any_char, |c| *c != ' ')), |chars| {
|
||||
|
|
Loading…
Reference in New Issue