|
|
#1 |
|
Library Breeder (She/Her)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,302
Karma: 1937893
Join Date: Apr 2015
Location: Fullerton, California
Device: Paperwhite 2015 (2), PW 2024 (12 GEN), PW 2023 (11 GEN), Scribe (1st)
|
Tweak for setting the column order when starting Calibre
Can't seem to get the syntax right. I just want the newest books to be at the top. So, date descending. I think I am supposed to have another column to sort, but what would I add if I just want the newest books first?
Would also be nice if Calibre had an option to open it where it was last focused. |
|
|
|
|
|
#2 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,325
Karma: 62025226
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Code:
# Specify columns to sort the booklist by on startup sort_columns_at_startup = [['title',0],[u'date']] Sort Date by Title (remember sorts are reverse bias/ Just like clicking columns) Kovid, is the help text stale? it uses (field,dir) but the actual setting uses [field,dir] |
|
|
|
| Advert | |
|
|
|
|
#3 | |
|
Library Breeder (She/Her)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,302
Karma: 1937893
Join Date: Apr 2015
Location: Fullerton, California
Device: Paperwhite 2015 (2), PW 2024 (12 GEN), PW 2023 (11 GEN), Scribe (1st)
|
Quote:
Thanks though
|
|
|
|
|
|
|
#4 |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,044
Karma: 30277960
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@Rellwood - try
Code:
[('title',0), ('date',0)]
But, IIRC you use the View Manager plugin, I am using an older version of that plugin, but I assume these restrictions still apply if you tick the box BR |
|
|
|
|
|
#5 |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 116
Karma: 48334
Join Date: Sep 2013
Location: Australia
Device: Fire HD 10
|
sort_columns_at_startup = ['date', 1]
|
|
|
|
| Advert | |
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Custom Column for Automatically Setting Status? | TheArtfulDodger | Calibre | 6 | 04-27-2020 04:00 PM |
| Setting another series starting index | RotAnal | Library Management | 8 | 03-06-2017 10:21 AM |
| A questions to - Tweak: tag browser category order | MiniMouse | Library Management | 6 | 09-13-2014 09:59 AM |
| Setting Path for Tweak ePub | Agama | Calibre | 6 | 12-03-2010 03:06 AM |
| Setting a default value for a custom column? | rangepig | Calibre | 2 | 10-11-2010 02:28 PM |