search (alt-f7) + custom columns -> wrong sorting

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
knnknn
Junior Member
Junior Member
Posts: 60
Joined: 2007-07-20, 08:04 UTC

search (alt-f7) + custom columns -> wrong sorting

Post by *knnknn »

If you use the custom column mode then the first column ("name") displays the search results (alt-f7) without the folder path.

However sorting by "Name" still sorts by full path instead of "filename"
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3864
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

However sorting by "Name" still sorts by full path instead of "filename"
That depends of your "name" column.
If you use the standard Name column, it holds the full filename incl. the path (so sorting is correct by path)

If you are using a custom column "Name" such as "tc.name", it holds the name of the file only (so sorting is done by name only)
#5767 Personal license
knnknn
Junior Member
Junior Member
Posts: 60
Joined: 2007-07-20, 08:04 UTC

Post by *knnknn »

sqa_wizard wrote:If you use the standard Name column, it holds the full filename incl. the path (so sorting is correct by path)
No, there is no path in that standard name column. Just the filename without path thus sorting is incorrect.
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3864
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

No, there is no path in that standard name column
The path is not displayed, but it is still part of the standard name column. (Just try to rename the file and you can see what I mean)

If you want to ignore the path for sorting, you can modify your custom column:
Set the width of name and extension column to 5 (min. value) and add a tc.name column as first entry.

This way you can sort by name and have the path information in place as well.
#5767 Personal license
knnknn
Junior Member
Junior Member
Posts: 60
Joined: 2007-07-20, 08:04 UTC

Post by *knnknn »

sqa_wizard wrote:The path is not displayed, but it is still part of the standard name column. (Just try to rename the file and you can see what I mean)
Thanks for the help, but nevertheless it's a bug. It's either a bug because it doesn't display the fullpath, or because it sorts wrongly.
sqa_wizard wrote:If you want to ignore the path for sorting, you can modify your custom column:
Set the width of name and extension column to 5 (min. value) and add a tc.name column as first entry.
No, that causes a crippled display with some dots ".." overlaying the tc.name column. Moreover the icons and brackets (for folders) are missing. That is unfortunately not a solution
Post Reply