View Single Post
Old 10-21-2010, 11:50 AM   #1
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
FYI @Charles: article sort tweak and autosort/automerge

A minor update/change:

Responding to a bug report/enhancement request, the autosort/automerge option in Adding Books|"If books with similar author ..found" (used in Adding Books and Copy to Library to identify matching books in the library) now uses Charles' title_sort_articles tweak to identify articles to be ignored during the compare. (Other fuzzy title matching is still done to ignore punctuation, multiple spaces, etc.)

The default tweak is: title_sort_articles=r'^(A|The|An)\s+' which means the default autosort/automerge behavior is unchanged even if the tweak is undefined.

The comparison is done with case ignored. Changing the tweak to title_sort_articles=r'^(A|The|An|XYz)\s+' means that a book with the title "XYZ Circus" will match all these book titles:
"Circus"
"circus"
"A Circus"
"a Circus"
"the Circus"
"The Circus"
"An circus"
"AN Circus"
"xyz Circus"
etc., provided the author(s) field also matches.
Starson17 is offline   Reply With Quote