Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Filter notes from sub folders according to tags when in the parent-folder #884
Let's the tree:
If I am in the folder A with a filtering according to the tag X, I would like to see N1 and N3 in the panel listing the notes in the folder.
Moreover, when I am in the folder A1, it will be very helpful to display only the tags X and Y, and not Z, in the panel of tag list.
If I am in the folder A with a filtering according to the tag X, I see no notes (because the program don't take into account the notes in the sub folders).
If I'm in the folder A1, I see all the tags (X, Y, Z) in the tag list panel.
Thanks a lot in advance!
Currently when you select a sub-folder and a tag you can only see the notes in that sub-folder, that has that assigned that tag.
I'm not sure I understand your explanation what you would like to see. :)
it would be very whacky to detect with certainty what selection came first... the tag-selection or the folder-selection, because there are a lot of factors that play a role
Thanks for your answer.
Yes, but in my example, the parent folder A has itself no notes, but the sub folders yes. Thus I would like to have recursively all the notes with this tag in the current folder and in all the sub-folders. If I didn't want this behavior, I would not create A1 and A2.
I'm using the program to take notes on scientific papers and I am using folders to sort by domains and tags to sort by topics. (A domain can be a technology -this is absolute- while topics are more flexible. It's consistent with the design of QOwnNotes.) So I want all the notes related to one topic regardless on the domain.
That's an example where recursion is needed, but generally, it's more natural according to the design of the program. Indeed, why does it recursively display all the notes when I am in A but nothing when I select also a tag? It's more like a "bug" for me.
It's in fact a second and independent feature from the first above.
I hope you will take these comments into account! My main problem is the note management.
Maybe the Panels settings can help you.
I don't know how you have configured QOwnNotes...
Other users would want it the other way around and just show subfolders for a selected tag. It would be really hard to implement such a thing without a lot of sideeffects...
What do you need?
I just say what I would like. You can put an option in the settings if you think the current way is necessary in some cases.
the first few
It would be still a huge amount of work with lots of regressions.
Why don't you just use different note folders instead of note subfolder, then you have complete different tags for different note folders?
@pbek Thanks for the quick reply! :)
I've had a look there, and while I can show all notes from subfolders, I can't then use the tags to filter it further? In order to use the tags, I need to be in the subfolder the note is contained in.
Am I missing something?
I've managed to get the filtering working well - looks like it was nearly there, just overlooked! :)
But I have a problem now, as the note tag count is still only per subfolder, and it's tricky to change at the moment, as the query is looking for note_sub_folder_id instead of a path..
added a commit
Jun 12, 2018
I will do! Thanks! :)…
On Tue 12 Jun 2018, 18:06 Patrizio Bekerle, ***@***.***> wrote: There now is a new release, could you please test it and report if it works for you? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#884 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AIsliHbIe9EALVew27Tv2OyfpyvsXOwPks5t7_UkgaJpZM4TGccJ> .