s4j4
8 September 2021 15:01
1
Joplin for Desktop Joplin 2.3.5 (prod, darwin)
When specifying notebook search, the use of double quotation marks causes the entered search term to not work
Search Example
notebook:"joplin server" abcdefg
ABCDEFG
is entered randomly to check whether the search results are correct
Normally, there should be no search results, but the notes are still found. Please help verify this problem. Thank you
Can you try
notebook:"joplin server" & abcdefg
?
@bepolymathe &
is no and
operator in Joplin, in Joplin this is any:1
@s4j4 I can reproduce the problem, but for bugs please create a github issue!
I have createt this one for you, because I try to fix the problem.
opened 07:52AM - 09 Sep 21 UTC
bug
If a notebook filter is used in the search and the notebook is written in quotat… ion marks, the following search term is interpreted as a notebook filter.
Issue form https://discourse.joplinapp.org/t/in-certain-cases-search-does-not-work
## Environment
Joplin 2.4.3 (prod, win32)
Client ID: 8d4ac0fa4a1840acb6db8ac8be29d7ce
Sync Version: 3
Profile Version: 39
Keychain Supported: Yes
Revision: ad931a7
## Steps to reproduce
1. Create notebook testsearch with some notes and on note with abcdefg as content
2. Create notebook test with some notes and one note with abcdefg as content
3. Search `notebook:test "abcdefg"` correct search results
![grafik](https://user-images.githubusercontent.com/24863925/132644236-e7e6af58-1feb-40d1-a1ce-6b82244fe492.png)
4. Search `notebook:"test" "abcdefg"` wrong search results (The search term `abcdefg` is miss interpreted as notebook:abcdefg)
![grafik](https://user-images.githubusercontent.com/24863925/132644305-2db58b28-8ee4-4ca3-91e6-843f68c06672.png)
## Describe what you expected to happen
Both times the searchterm should be considered
## Logfile
1 Like
Yes, you are right. Simply if I use &
I get the same behavior
s4j4
9 September 2021 13:12
5
@bepolymathe
Your method is effective, although it is not the official search syntax. Thank you
@JackGruber
Thank you for your help in submitting the problem on GitHub. I hope it can be solved. It is difficult for Chinese users to access GitHub. Many times, the page cannot be accessed. In addition, I can't speak English, so I can only ask simple questions on the forum
system
Closed
9 October 2021 13:12
6
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.