10-04-2010, 11:19 AM | #1 | |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Article tweak for title sort not working
I created a new thread to avoid any further derailing of threads. See this post for context.
Quote:
Code:
title_sort_articles=r'^(A|The|An|Der|Die|Das)\s+' I'll gladly provide further data if needed. Last edited by Manichean; 10-04-2010 at 11:19 AM. Reason: Minor typo corrected |
|
10-04-2010, 11:48 AM | #2 | |
Grand Sorcerer
Posts: 11,703
Karma: 6658935
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
To test, I set my tweak to Code:
title_sort_articles=r'^(A|The|An|Die|Der|Das)\s+' Try double-clicking on the title in question (Der Golem) so that the edit box opens. Then hit return. Alternatively, try doing an edit-metadata single. Using search/replace to set the title to itself probably won't work, because the title updater tries hard not to do null operations. |
|
Advert | |
|
10-04-2010, 11:56 AM | #3 |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
I'll be damned... I just restarted Calibre to try out your suggestions, and the book I fiddled with now got sorted according to the expression. Confirmed by double clicking all relevant titles and hitting return, thus updating the title without changing. After a restart of Calibre everything sorts perfectly. I exptected the re-order to happen immediately, which clearly was wrong. (On second thought, a re-order of the title column by just clicking on the header might have worked as well.)
Now I'm off to re-draw my avatar a nice, red embarrassed face. Sorry for jumping to conclusions. |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Author then title sort | Gary Young | Calibre | 4 | 08-30-2010 10:03 PM |
[Old Thread] Incorrect title sort order | SkyDream | Calibre | 12 | 07-07-2010 03:03 AM |
Sort by author AND title | bookends | Calibre | 2 | 05-09-2010 01:55 PM |
Descending title sort | astrodad | Calibre | 14 | 12-23-2008 01:34 PM |