Improve the searches when clicking on graphs in the stats

If you open the stats screen and click on some things like the bars or the heatmap squares, the browser pops up with a search. These searches are… less than ideal.

For example, clicking on “Learning” in the pie chart searches for this:

 deck:current (-"is:review" AND "is:learn")AND -("is:buried" OR "is:suspended")

Notice the space at the start, the unnecessary "AND"s, the quotes, etc. A new user might look at this and think that Anki searches are impossible to learn.

A better way to write the above search is:

deck:current is:learn -is:review -is:buried -is:suspended
1 Like