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 12-11-2011, 01:55 PM   #1
Bragir
Junior Member
Bragir began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2011
Device: Pocketbook Pro 903
Question Newbie author+series sorting problem

I want to sort my libray so that it is first sorted after author then serie (if it's a part of one) and then title.
After a bit of serching here i found that this tweek should do it

Code:
sort_columns_at_startup = (('authors', 0), ('series', 0), ('title', 0))
This also works as long as there is only 1 author, if there is more than one the serie sorting don't work as i want.

Is there any way to make it use only the first author name (without having to remove other authors from metadata)

This is how it looks now:
Pirate of the pacific - Kenneth Robson - Doc Savage[5]
Land of always-night- Kenneth Robson - Doc Savage[25]
....
World's Fair Goblin - Kenneth Robeson & William G. Bogart - Doc Savage[74]
...
The Man of Bronze - Kenneth Robeson & Lester Dent - Doc Savage[1]
...

What i would like was books from the same "main" author to be grouped and the series sorted numericaly (so that book 1 is the first, bok 2 the next and so on).
Bragir is offline   Reply With Quote
Old 12-12-2011, 12:16 AM   #2
capnm
Groupie
capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'
 
Posts: 156
Karma: 10001
Join Date: Feb 2011
Device: sony
Create a custom column, built from other columns.
Name it something like 'mainauthor'.

Put this in the template field:
Code:
{author_sort:list_item( 0, ' & ')}
Sort on your custom column at startup.

Don't forget to add a leading # to the custom column name when you refer to it.

Code:
sort_columns_at_startup = (('#mainauthor', 0), ('series', 0), ('title', 0))
Caveat: I can't check my syntax at the moment, it may not be 100% correct, but you should get the idea ...
capnm is offline   Reply With Quote
Advert
Old 12-12-2011, 05:10 AM   #3
Bragir
Junior Member
Bragir began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2011
Device: Pocketbook Pro 903
Smile

Thanks that worked (after i found out that the separator in list_item has to be without ' around it)
Bragir is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Touch Series/Collections sorting Nakaleen Kobo Reader 10 08-12-2018 10:21 AM
[Old Thread] Sorting folders by author/series/title goodreader16 Library Management 15 05-06-2011 01:18 AM
Title Sorting / Author Sorting ahi Sony Reader 0 09-14-2009 01:51 PM
Problem Sorting by Author on Jetbook smg927 Ectaco jetBook 5 08-27-2009 11:52 PM
Author sorting problem - purchased books DeaHamlet Sony Reader 4 07-03-2008 04:16 PM


All times are GMT -4. The time now is 12:50 AM.


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