Fix sorting by title to correctly handle cases like The Thexxx

This commit is contained in:
Kovid Goyal 2009-08-05 09:14:12 -06:00
parent 8c350fb8cb
commit a12b6d043c

View File

@ -41,7 +41,7 @@ def title_sort(title):
match = _title_pat.search(title)
if match:
prep = match.group(1)
title = title.replace(prep, '') + ', ' + prep
title = title[len(prep):] + ', ' + prep
return title.strip()
coding = zip(