Can the Place Selector be changed to the Flat instead of Hierarchical

edit the file (version 5.1.5)

gramps\gui\selectors\selectplace.py

change line 36

from ..views.treemodels.placemodel import PlaceTreeModel

to

from ..views.treemodels.placemodel import PlaceListModel


change line 62

return PlaceTreeModel

to

return PlaceListModel


at line 66 change

        return [
            (_('Name'),  200, BaseSelector.TEXT, 0),
            (_('ID'),    75,  BaseSelector.TEXT, 1),
            (_('Type'),  100, BaseSelector.TEXT, 3),
            (_('Title'), 300, BaseSelector.TEXT, 2),
            (_('Last Change'), 150, BaseSelector.TEXT, 9),
            ]

to

        return [
            #(_('Name'),  200, BaseSelector.TEXT, 0),
            (_('Title'), 300, BaseSelector.TEXT, 2),
            (_('Type'),  100, BaseSelector.TEXT, 3),
            (_('ID'),    75,  BaseSelector.TEXT, 1),
            (_('Last Change'), 150, BaseSelector.TEXT, 9),
            ]

You might want to give the Title more space than 300.

4 Likes