Page 1 of 1

sorting by labels

Posted: 18 May 2024 23:43
by Norm
Sorry to bother you with this, but I have searched and searched and cannot find or figure out how I managed to do this years ago. I have a button on my XYplorer toolbar that if clicked on sorts by the colors of labels I have assigned to various files, say, fiction and non-fiction. Love the labels, love being able to sort by them to eliminate older files in backups, etc.

I thought to see if a newer version of XYplorer was available and sure 'nuff it was. This was an upgrade from 24.40 to 25.90. All went well, or so it seemed. Today, I went to sort by labels and it no longer worked! Oh, the horror! Stopped and restarted, all those things, did no good. Googled scripts, label sorting, etc., no good. Ultimately, a downgrade to 24.40 and the button works again. If I right click on the button, it has an edit option. "On Left Click" #335 I have no idea what a #335 is or where I found it or if it is on this computer where it is hiding. There is no scripts directory. I went to the Roaming directory and found nothing of value, including an empty scripts directory. If I edit the button which shows up on v25.90, and put the #335 into it, it does not work.

Can you help? I'd like to upgrade and do future upgrades, but this is a feature I am no willing to lose. If there is a script hiding somewhere, where would that be, so that I can back it up. I have spent hours searching to no avail. Thank you.

Re: sorting by labels

Posted: 18 May 2024 23:51
by highend
Could be a bug

#335 = Sort by label

But if used: menu - view - sort by
switches to len instead of label...

Don?

Re: sorting by labels

Posted: 19 May 2024 03:04
by jupe
Yeah, definitely looks like a bug, possibly since soft Labels were added, in the meantime you could use something like this instead:

sortby "Label", "clk";

Moved topic to Bug reports.

Re: sorting by labels

Posted: 19 May 2024 12:37
by admin
Yep, bug. :bug: Goes back to the introduction of the Status column. Something got out of order. Will work again in next beta.

Re: sorting by labels

Posted: 19 May 2024 14:27
by highend
From the changelog:
#335; sorted by Len instead of Status.
Shouldn't this be:
#335; sorted by Len instead of Label.
?

Re: sorting by labels

Posted: 19 May 2024 15:39
by admin
Yep.

Re: sorting by labels

Posted: 20 May 2024 00:00
by Norm
It works!!! Thank you everyone. And it wasn't me. But, some mystery remains. What is a #335 and what does it reference? Where would I have found it in the first place? I am so grateful.

Re: sorting by labels

Posted: 20 May 2024 00:21
by jupe
It's a command number, you can look them up in

Help | List All Commands

Re: sorting by labels

Posted: 20 May 2024 05:12
by highend
@Norm

Thanks for the donation, totally unexpected :mrgreen:

Re: sorting by labels

Posted: 20 May 2024 06:58
by Norm
Yet another example of how the harder you look for something, the less likely you are to find it. How I stumbled onto this in the first place is amazing. Thank you.

jupe wrote: 20 May 2024 00:21 It's a command number, you can look them up in

Help | List All Commands