Quote:
Originally Posted by chaley
I assume that by "permanent", you mean redo the sort on start up, and not that you are prevented from sorting by a column.
The calibre beta and subsequent releases support a 'tweak' that can be used to specify how to sort at start-up. The documentation is:
Code:
# Provide a set of columns to be sorted on when calibre starts
# The argument is None if saved sort history is to be used
# otherwise it is a list of column,order pairs. Column is the
# lookup/search name, found using the tooltip for the column
# Order is 0 for ascending, 1 for descending
# For example, set it to [('authors',0),('title',0)] to sort by
# title within authors.
sort_columns_at_startup = None
There is no GUI available for setting tweaks. To set the value, you edit the file 'tweaks.py' found in Calibre's configuration directory. A button is available under preferences/advanced to open that directory in a file explorer (whatever it is called on your system).
|
Charles,
Am I correct in thinking the tweak causes the desired sort on startup regardless of what sorting was in effect when Calibre was closed? Am I also correct in thinking that if the tweak is not applied, Calibre will sort on startup with the sort order that was in effect when Calibre was closed? Or is there another default sort order that is applied on startup? I did some quick tests and thought I confirmed my recollection that the last sort order in effect at close is applied on the next startup.