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 11-15-2011, 02:13 PM   #1
paprion
Junior Member
paprion began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Nov 2011
Device: kindle touch
Can I sort by author, no authort_sort?

Hi, everyone
I hope I didn't miss the answer to my question in another post. If so, I am sorry...

In Calibre, in the metadata there are two author fields:
Author(s): [first name] [last name]
Author sort:[last name], [first name]

The 2nd field is used in sorting and the first in the appearance of the author names. So, for example, Raymond Chandler will appear as 'Raymond Chandler' but will be sorted before James Ellroy because their last name is used for sorting (Chandler, Raymond).
My question: is it possible to sort by first name without changing the 'Author sort' field?If not, how can I change in bulk all the 'Author sort' fields to match the 'Author(s)' field? (the opposite can be easily done from 'Manage authors'). This is not something I would like to do since it might come handy to sort by last name sometimes but if it is the only solution, I would do it.

Thank you in advance.
paprion is offline   Reply With Quote
Old 11-15-2011, 03:57 PM   #2
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by paprion View Post
is it possible to sort by first name without changing the 'Author sort' field?
You can't sort the author column by anything other than the contents of author_sort. You could create a custom column containing the author (FN LN) and sort by that custom column, but then you'd have two author columns. You could hide one.

Quote:
If not, how can I change in bulk all the 'Author sort' fields to match the 'Author(s)' field?
Highlight all, bulk metadata edit all, use Search and Replace to find (.*) in author and set the destination to author_sort and replace with \1. You'll want to set the Tweak to Copy so it copies author to author_sort without change for new ebooks.

Last edited by Starson17; 11-15-2011 at 04:59 PM.
Starson17 is offline   Reply With Quote
Advert
Old 11-15-2011, 04:40 PM   #3
paprion
Junior Member
paprion began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Nov 2011
Device: kindle touch
Thanks for the prompt answer

I think this works for me perfectly:
Quote:
Originally Posted by Starson17 View Post
You can't sort the author column by anything other than the contents of author_sort. You could create a custom column containing the author (FN LN) and sort by that custom column, but then you'd have two author columns. You could hide one.
Just to correct a small mistake, in case another newbie like me stumbles upon this post, instead of /1 one should use \1 which refers to the content the parentheses
Quote:
Originally Posted by Starson17 View Post
Highlight all, bulk metadata edit all, use Search and Replace to find (.*) in author and set the destination to author_sort and replace with /1. You'll want to set the Tweak to Copy so it copies author to author_sort without change for new ebooks.
paprion is offline   Reply With Quote
Old 11-15-2011, 05:00 PM   #4
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by paprion View Post
one should use \1
Fixed in the original.
Starson17 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to sort on Author(s) last name? Tolkamp Library Management 12 06-20-2011 10:27 AM
using author sort for author - Sony 950 Purple Lady Devices 2 01-29-2011 12:23 AM
Author sort paulfiera Calibre 8 12-24-2010 11:27 AM
Author Sort thomasmorus Calibre 39 08-27-2010 04:55 PM
Author(s) & Author Sort BobF Calibre 11 01-02-2009 05:01 PM


All times are GMT -4. The time now is 11:06 AM.


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