View Single Post
Old 09-28-2010, 05:20 PM   #10
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,465
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Title sort uses the RE
Code:
_title_pat = re.compile('^(A|The|An)\s+', re.IGNORECASE)
It wouldn't be outrageously difficult to add a tweak to change the pattern to any sequence of words or what-have-you.

Adding read/write GUI access would require much more work, because the sort field is filled in by a DB trigger.
chaley is offline   Reply With Quote