Summary: | Erroneous duplicate authors | ||
---|---|---|---|
Product: | [Applications] tellico | Reporter: | Jim Sanderson <jssalesmail> |
Component: | general | Assignee: | Robby Stephenson <robby> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | edes, jssalesmail |
Priority: | NOR | ||
Version: | 3.0.2 | ||
Target Milestone: | --- | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/tellico/c739d878b96bf1e30f8de504d1422d911792c7ae | Version Fixed In: | 3.1.1 |
Sentry Crash Report: |
Description
Jim Sanderson
2017-10-21 06:48:46 UTC
(In reply to Jim Sanderson from comment #0) > When you group by authors, it shows that each one only has one book (as it > should) but filtering shows 2. > When you group by <people>, it shows 2 books in "Author, John" and 1 in > "Author, John Q.". The action taken by Tellico when "Filter by Group" is clicked is that a filter is created that matches against an author _containing_ the relevant text rather than _equaling_ the text. This is done for the situation where a book may have multiple authors - filtering by group by full matching would then miss a book for which John Q Author was one of multiple authors. I believe that if you want the behavior you are expecting, you can click the Filter button in the toolbar (after clicking the filter by group action from the left) and change the filter rule from "contains" to "equals" in which case only one book is shown for your example. Does that help? Git commit c739d878b96bf1e30f8de504d1422d911792c7ae by Robby Stephenson. Committed on 02/11/2017 at 01:40. Pushed by rstephenson into branch 'master'. Use a regular expression when filtering by group instead of string match When right-clicking in the Group View and choosing "Filter By Group", the constructed filter did a simple match against a string containing group name. However, when the group name was a substring of another group, the grouping was too broad. FIXED-IN: 3.1.1 M +4 -0 ChangeLog M +3 -1 src/groupview.cpp M +1 -1 src/tests/CMakeLists.txt M +33 -0 src/tests/filtertest.cpp M +1 -0 src/tests/filtertest.h https://commits.kde.org/tellico/c739d878b96bf1e30f8de504d1422d911792c7ae For some reason, "Filter By Group" doesn't work for me now in tellico-3.1.1. I'm on Gentoo linux, tellico built and installed using the official ebuild. |