Quote:
Originally Posted by chaley
The attached file implements sortable headings. I would be grateful if some of you who run from source could try it.
You will note that the up and down arrows turn on and off. A possible surprise: you can't move new columns. Reason: they don't exist yet so their order cannot be stored.
Decompress it and put it in <calibre source>/src/calibre/gui2/preferences, replacing the existing columns.py. I will submit it to Kovid once someone other than me has tried it.
I suggest you make a backup of your library just in case something is broken. For example, my first version threw away all column order information. The only way to get it back was to restore from backup. 
|
I give that a big

I tested it with my testing library and I had no issues. The sorting worked for all columns. The move buttons disabled when the order was not Order. The status shows and sorts properly. For sorting, I did wonder if the lookup name sort should ignore the hash. Using it is good as it will group the custom columns together. But, I don't normally think of the hash as part of the name. It probably doesn't matter as I'm more likely to sort on the column header.
The only question related to the changes is if the Status is in the correct place. It will normally be empty and having it were it is feels like it is wasting space. Would you like to hide it until a change is made? Though that might be confusing.
The other thing that occurred to me is that none of the core columns have descriptions. A description on the not-so-obvious one could be good. And no, I'm not volunteering