Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Searching for description that begins with 'and' or 'or' is not recognized as legit beginnings of words to search for if they are the only content of search (sanitization?) #1302

Open
el-es opened this issue Jan 26, 2022 · 0 comments

Comments

@el-es
Copy link

el-es commented Jan 26, 2022

I have left this on the demo. : try adding an item with description starting with an "or", or "and" and then, search for it.

(in this example, i left an item with description 'ordeal' and 'andover')

As I type 'or' or 'and' without "double quotes" now, it accepts the word 'or', 'and' with Search interpretation | : text matching ''-- | -- below the search field entry;

but as soon as I get to type 'ord' or 'ando' i get an error : :unhashable type: 'dict'.

Typing in "ord" or "ando" correctly finds the words.
(this is in 0.30.0 as in demo installation)

(this also exists in version 0.29.9 that I am actively running; on that one however, typing in the "orm" does not find the item that begins with 'orm', only if 'orm' exists in the midst of the description)

@el-es el-es changed the title Logic operations 'and' and 'or' not recognized as legit beginnings of words to search if they are the only content of search (sanitization?) Searching for description that begins with 'and' or 'or' is not recognized as legit beginnings of words to search for if they are the only content of search (sanitization?) Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant