Bug 231867 - Group view should allow a field other than the title to be shown
Summary: Group view should allow a field other than the title to be shown
Status: RESOLVED FIXED
Alias: None
Product: tellico
Classification: Applications
Component: general (show other bugs)
Version: 2.2
Platform: openSUSE Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: Robby Stephenson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-23 05:55 UTC by Robby Stephenson
Modified: 2023-09-28 01:37 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 3.5.2


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robby Stephenson 2010-03-23 05:55:31 UTC
Version:           2.2 (using KDE 4.4.0)
Installed from:    openSUSE RPMs

For the grouped views (groups, loans, and filters), the entry title is used in the list. But for some collections, like comic books, a different field, which could combine issue numbers or something, would be better to use.
Comment 1 Robby Stephenson 2020-10-25 20:23:04 UTC
Git commit 5817163f261a4ef298c855e0f810de8231677c4f by Robby Stephenson.
Committed on 25/10/2020 at 20:22.
Pushed by rstephenson into branch 'master'.

Add user-selectable sorting in the group view

The context menu now provides a popup menu with all fields suitable
for sorting. An icon was added to the sorting menu. The icon view also
uses the same method for creating the sort menu.

However, the sorting is not yet retained from session to session.
FIXED-IN: 3.4

M  +4    -0    ChangeLog
M  +1    -0    TODO
M  +21   -0    src/controller.cpp
M  +1    -0    src/controller.h
M  +1    -1    src/detailedlistview.cpp
M  +5    -10   src/entryiconview.cpp
M  +15   -1    src/groupview.cpp
M  +2    -2    src/groupview.h
M  +67   -17   src/models/groupsortmodel.cpp
M  +6    -3    src/models/groupsortmodel.h

https://invent.kde.org/office/tellico/commit/5817163f261a4ef298c855e0f810de8231677c4f
Comment 2 Justin Zobel 2020-11-13 02:47:35 UTC
Robby can you please confirm this can now be resolved thanks to your commit?
Comment 3 Robby Stephenson 2020-11-13 14:44:08 UTC
(In reply to Justin Zobel from comment #2)
> Robby can you please confirm this can now be resolved thanks to your commit?

It's not resolved completely. I had this bug as a marker for showing something other than the title. The commit mentioned in comment#1 is only for enabling sorting by a different field.
Comment 4 Thiago Sueto 2023-09-10 18:52:16 UTC
I recently created a custom collection with Tellico and removed the Title field, instead using a more descriptive field called Repository. Now the Group view will show groups but not the name of each record, showing a list filled with empty items.
Comment 5 Robby Stephenson 2023-09-28 01:36:42 UTC
Git commit 870ef2e2b5efc45561bbf3a1ed6e11823c05fcfc by Robby Stephenson.
Committed on 28/09/2023 at 03:36.
Pushed by rstephenson into branch '3.5'.

For collections with no named title field, add fallback values

Look for first field formatted as a title, or lacking that, just the
first field overall
FIXED-IN: 3.5.2

M  +4    -0    ChangeLog
M  +11   -0    src/collection.cpp
M  +2    -0    src/collection.h
M  +1    -1    src/entry.cpp
M  +23   -0    src/tests/collectiontest.cpp
M  +1    -0    src/tests/collectiontest.h

https://invent.kde.org/office/tellico/-/commit/870ef2e2b5efc45561bbf3a1ed6e11823c05fcfc
Comment 6 Robby Stephenson 2023-09-28 01:37:18 UTC
Git commit 1e101b551c9ae190ce4e2afd5c7500f915422505 by Robby Stephenson.
Committed on 28/09/2023 at 03:37.
Pushed by rstephenson into branch 'master'.

For collections with no named title field, add fallback values

Look for first field formatted as a title, or lacking that, just the
first field overall
FIXED-IN: 3.5.2

M  +4    -0    ChangeLog
M  +11   -0    src/collection.cpp
M  +2    -0    src/collection.h
M  +1    -1    src/entry.cpp
M  +23   -0    src/tests/collectiontest.cpp
M  +1    -0    src/tests/collectiontest.h

https://invent.kde.org/office/tellico/-/commit/1e101b551c9ae190ce4e2afd5c7500f915422505