Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 04-22-2011, 01:44 PM   #1
cic81
Junior Member
cic81 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Apr 2011
Device: Sony PRS-350
Default sort order

I've been browsing around a bit, but haven't been able to find an answer to my question, forgive me if it's already been asked. I have my library sorted by a custom field "Genre" and the default sort order seems to be:

Genre > Author > Title

what I would like to have it do is:

Genre > Author > Series # > Title

I've browsed through settings and tweaks but the only thing I could think that might apply is maximum_resort_levels which is currently set to 5. Is there any way to adjust the priority of columns in the sorting order?
cic81 is offline   Reply With Quote
Old 04-22-2011, 02:06 PM   #2
Manichean
Wizard
Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Manichean's Avatar
 
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
There's a tweak called "Specify columns to sort the booklist by on startup" that you can use to specify the sort order on startup. Assuming your genre field has a lookup name of '#genre', set the tweak to
Code:
 [('#genre',0),('authors',0),('series_index',0),('title',0)]
Manichean is offline   Reply With Quote
Advert
Old 04-22-2011, 09:10 PM   #3
cic81
Junior Member
cic81 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Apr 2011
Device: Sony PRS-350
That doesn't seem to have done anything. They're still Genre > Author > Title
cic81 is offline   Reply With Quote
Old 04-23-2011, 01:16 AM   #4
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by cic81 View Post
That doesn't seem to have done anything. They're still Genre > Author > Title
As stated use the "Specify columns to sort the booklist by on startup" tweak. I use the below with a different column than genre and it works fine.

Code:
sort_columns_at_startup = (('#genre', 0), ('authors', 0), ('series', 0), ('title', 0))
Assuming that when you hover the mouse over your genre column heading the lookup/search name is #genre then try the above. If the lookup/search name is different then change #genre to whatever your lookup name is.

This will sort your library on startup primarily by Genre, within each genre the Authors will be in order, within each Author the Series will be in order and the titles for that Author not in a series will be in alphabetical order.

Last edited by DoctorOhh; 04-23-2011 at 01:19 AM.
DoctorOhh is offline   Reply With Quote
Old 04-23-2011, 03:40 PM   #5
cic81
Junior Member
cic81 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Apr 2011
Device: Sony PRS-350
Thanks a lot! That worked brilliantly. I guess it just needed curved brackets instead of square.
cic81 is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Override of default title sort fails jesscat Library Management 4 02-10-2011 01:24 PM
PRS-650 - Default Sort order chris_tribble Sony Reader 21 11-26-2010 07:31 PM
Adding Books and Sort Order hereticorp Calibre 3 09-21-2010 06:18 PM
Sort order changes on transfer to device Zipr Calibre 2 09-17-2010 11:45 AM
Sort Order strangeness jflatto Calibre 2 07-11-2010 11:38 AM


All times are GMT -4. The time now is 07:57 AM.


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