Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-11-2020, 03:18 PM   #1
Rellwood
Library Breeder (She/Her)
Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.
 
Rellwood's Avatar
 
Posts: 1,265
Karma: 1937891
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.
Rellwood is offline   Reply With Quote
Old 05-11-2020, 04:41 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,047
Karma: 60358908
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']]
I think this might

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]
theducks is offline   Reply With Quote
Advert
Old 05-11-2020, 04:51 PM   #3
Rellwood
Library Breeder (She/Her)
Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.
 
Rellwood's Avatar
 
Posts: 1,265
Karma: 1937891
Join Date: Apr 2015
Location: Fullerton, California
Device: Paperwhite 2015 (2), PW 2024 (12 GEN), PW 2023 (11 GEN), Scribe (1st)
Quote:
Originally Posted by theducks View Post
Code:
# Specify columns to sort the booklist by on startup

sort_columns_at_startup = [['title',0],[u'date']]
I think this might

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]
Nope, that puts the titles alphabetical first. I don't know what happened but when I initially tried to set the tweak and failed, before coming here, I closed out Calibre and when it opened it was set to the date ascending, and it continued to stay that way after multiple closings. I have to open it up again to reset that tweak.

Thanks though
Rellwood is offline   Reply With Quote
Old 05-11-2020, 05:56 PM   #4
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,718
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@Rellwood - try

Code:
[('title',0), ('date',0)]
You might need to change the direction values from 0 to 1

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

Click image for larger version

Name:	Annotation 2020-05-12 075018.jpg
Views:	137
Size:	83.4 KB
ID:	179199

BR
BetterRed is offline   Reply With Quote
Old 06-19-2021, 08:52 AM   #5
pjmpjm
Zealot
pjmpjm can load mercury with a pitchforkpjmpjm can load mercury with a pitchforkpjmpjm can load mercury with a pitchforkpjmpjm can load mercury with a pitchforkpjmpjm can load mercury with a pitchforkpjmpjm can load mercury with a pitchforkpjmpjm can load mercury with a pitchforkpjmpjm can load mercury with a pitchforkpjmpjm can load mercury with a pitchforkpjmpjm can load mercury with a pitchforkpjmpjm can load mercury with a pitchfork
 
pjmpjm's Avatar
 
Posts: 116
Karma: 48334
Join Date: Sep 2013
Location: Australia
Device: Fire HD 10
sort_columns_at_startup = ['date', 1]
pjmpjm is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Column for Automatically Setting Status? TheArtfulDodger Calibre 6 04-27-2020 03:00 PM
Setting another series starting index RotAnal Library Management 8 03-06-2017 09:21 AM
A questions to - Tweak: tag browser category order MiniMouse Library Management 6 09-13-2014 08:59 AM
Setting Path for Tweak ePub Agama Calibre 6 12-03-2010 02:06 AM
Setting a default value for a custom column? rangepig Calibre 2 10-11-2010 01:28 PM


All times are GMT -4. The time now is 04:43 PM.


MobileRead.com is a privately owned, operated and funded community.