GwR changes for series sorting

This commit is contained in:
GRiker 2010-02-03 17:07:49 -07:00
parent cea60d5fd8
commit e7c07ee25e
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@
<widget class="QLabel" name="label_6">
<property name="text">
<string>Regex tips:
- The default regex - \[[\w]*\] - excludes genre tags of the form [tag], e.g., [Amazon Freebie]
- The default regex - \[[\w ]*\] - excludes genre tags of the form [tag], e.g., [Amazon Freebie]
- A regex pattern of a single dot excludes all genre tags, generating no Genre Section</string>
</property>
<property name="wordWrap">

View File

@ -1009,7 +1009,7 @@ class EPUB_MOBI(CatalogPlugin):
elif x['series'] < y['series']:
return -1
elif not x['series'] and not y['series']:
if x['title'] > y['title']:
if self.generateSortTitle(x['title']) > self.generateSortTitle(y['title']):
return 1
else:
return -1