Secondary sorting with custom columns working only with files, but not with folders.

Bug reports will be moved here when the described bug has been fixed

Moderators: sheep, Hacker, Stefan2, white

Post Reply
vlad99
Junior Member
Junior Member
Posts: 4
Joined: 2019-12-13, 08:37 UTC

Secondary sorting with custom columns working only with files, but not with folders.

Post by *vlad99 »

Do to reproduce:
1. Create for example 2 folders and 2 files
[11111]
[22222]
11111.txt
22222.txt

2. Add to all of them same comment through Ctrl+Z. File descript.ion will appear.
For Example “aaa” comment.

3. Go to Configuration -> Custom columns
Create new
Add column -> with caption “Comment” and fied content [=tc.comment]
Add column -> with caption “MyName” and fied content [=tc.name]
Apply and close Configuration

Now we can see:
Name | Ext | Comment | MyName
[11111]| ---- | aaa --------| 11111
[22222]| ---- | aaa --------| 22222
11111 | txt | aaa --------| 11111
22222 | txt | aaa --------| 22222
descript.ion

4. Now click on “Comment” column header – main sorting.
And click two times on “MyName” column header with “Ctrl” for secondary sorting.
And you will see, that order of files has changed, but folders order has not changed.

Name | Ext | Comment (UP1) | MyName (DOWN2)
[11111]| ---- | aaa --------| 11111
[22222]| ---- | aaa --------| 22222
descript.ion
22222 | txt | aaa --------| 22222
11111 | txt | aaa --------| 11111

But, if we use for secondary sorting column “Name” – the order will become correct.

Name(DOWN2) | Ext | Comment (UP1) | MyName
[22222]| ---- | aaa --------| 22222
[11111]| ---- | aaa --------| 11111
descript.ion
22222 | txt | aaa --------| 22222
11111 | txt | aaa --------| 11111

The inability to secondary sorting by additional columns is especially critical when using the plugin Expander2, dividing the folder name into several parts.
(Sorry for the errors in the text, if any, English is not native to me.)
Thanks for attention.
User avatar
petermad
Power Member
Power Member
Posts: 9810
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: Secondary sorting with custom columns working only with files, but not with folders.

Post by *petermad »

4. Now click on “Comment” column header – main sorting.
And click two times on “MyName” column header with “Ctrl” for secondary sorting.
And you will see, that order of files has changed, but folders order has not changed.

Name | Ext | Comment (UP1) | MyName (DOWN2)
[11111]| ---- | aaa --------| 11111
[22222]| ---- | aaa --------| 22222
descript.ion
22222 | txt | aaa --------| 22222
11111 | txt | aaa --------| 11111
I can confirm this.
License #524 (1994)
Danish Total Commander Translator
TC 9.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (2004) 64bit, 'Everything' 1.4.1.988 (x64)
TC 3.10b8 on Android 6.0
Get:
Extended TC Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 39935
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Secondary sorting with custom columns working only with files, but not with folders.

Post by *ghisler(Author) »

Confirmed, thanks - secondary sorting by custom columns was only applied to files.
Author of Total Commander
http://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 9810
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: Secondary sorting with custom columns working only with files, but not with folders.

Post by *petermad »

Confirmed fixed in TC 9.5b10 :-)
License #524 (1994)
Danish Total Commander Translator
TC 9.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (2004) 64bit, 'Everything' 1.4.1.988 (x64)
TC 3.10b8 on Android 6.0
Get:
Extended TC Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
vlad99
Junior Member
Junior Member
Posts: 4
Joined: 2019-12-13, 08:37 UTC

Re: Secondary sorting with custom columns working only with files, but not with folders.

Post by *vlad99 »

Thank you for the quick fix.
Post Reply