Bug 412564 - Group tags for efficacious searches
Summary: Group tags for efficacious searches
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: search (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-03 15:41 UTC by Recesvintvs
Modified: 2019-12-15 16:29 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 20.04.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Recesvintvs 2019-10-03 15:41:18 UTC
SUMMARY
As far as I know, one can only search by tags selecting one tag. Your tags are shown in a folder tree structure so you can only select one tag and see the files that have that tag and ignoring if they have any other else. Tag filtering should be groupable so searches would be much more precise in case of files that have various tags.
For example, you can have hundreds of files tagged "travel", and hundreds tagged "Cuba" and a thousand, "friends". If a document, photo, whatever, from your vacation in Cuba with your friends 5 years ago is tagged with "travel" "Cuba" and "friends" is fast and easy to find it, but if you only can include a tag in your search, you will have to dive among hundreds of files and lose a lot of time.
Throw a look on Tagspaces to see what I mean in an illustrated way: https://www.tagspaces.org/
Comment 1 Ismael Asensio 2019-12-15 16:28:44 UTC
Git commit 8e80c1d6dc1ede9b0a44ea1bd949487280c17064 by Ismael Asensio.
Committed on 15/12/2019 at 16:28.
Pushed by iasensio into branch 'master'.

[dolphin/search] Search by (multiple) tags

Summary:
Adds a tag selector in the extended filters of the search box.
Selected tag or tags are added to the search query along with the other filters (type, date, rating).
Related: bug 356062

Test Plan:
- Menu shows the user tags
- Picking any tag/s filters the search to that specific tag/s

{F7727909}

Reviewers: elvisangelaccio, ngraham, #dolphin, #vdg

Reviewed By: elvisangelaccio, ngraham, #dolphin, #vdg

Subscribers: kfm-devel

Tags: #dolphin

Maniphest Tasks: T9094

Differential Revision: https://phabricator.kde.org/D25130

M  +112  -4    src/search/dolphinfacetswidget.cpp
M  +14   -0    src/search/dolphinfacetswidget.h
M  +2    -1    src/search/dolphinquery.cpp
M  +27   -4    src/tests/dolphinquerytest.cpp

https://commits.kde.org/dolphin/8e80c1d6dc1ede9b0a44ea1bd949487280c17064