glfharris / echelon

Echelon - A Hierarchial Tags addon for Anki 2.1
GNU Affero General Public License v3.0
6 stars 2 forks source link

Problem on browsing #15

Closed bagwell351 closed 4 years ago

bagwell351 commented 4 years ago

When I am on the Panel Page and click on a Subtag (eg Tag1::SubTag1) in SideBar, the program looks for: (tag::Tag1::SubTag1 or tag::Tag1::SubTag1::*) and an error appears "Invalid search - please check for typos." The search function only works using the menu: Filter -> Tag -> Click on the Tag1::SubTag1, then the program looks for: "tag::Tag1::SubTag1" and cards with SubTag1 appear.

I have some questions:

Sorry if I didn't make myself understood, English is not my first language. Thank you very much in advance

Edit: Sorry for bothering. The problem occurred because the tags involved parentheses (eg Tag1(Edited)::SubTag1)

Solved

glfharris commented 4 years ago

Yeah, unfortunately I think parens in tag names is just going to cause problems with Anki's filtering.

I don't quite understand what you mean by the second question. Normally you can edit any text in the filter bar to fine tune the search

bagwell351 commented 4 years ago

Yeah, unfortunately I think parens in tag names is just going to cause problems with Anki's filtering.

I don't quite understand what you mean by the second question. Normally you can edit any text in the filter bar to fine tune the search

Initially I thought the problem was what the program looked for/typed into the search bar (as there was a difference in what appeared when I clicked on the tag, and when I searched using the menu), and my idea would be to edit the source code to change that. But the problem was all because of the use of parentheses. Everything's solved. Thanks anyway for the return.