Greasy Fork

Shined up real nice.

LibraryThing ignore articles/punctuation on combine page

Don't take articles ("a", "an", "the", etc.) or punctuation into account when sorting works on the "Combine Works" pages

After trying this script, you can ask a question about it, review it, or report it.
Advertisement
Author
Max Starkenburg
Daily installs
0
Total installs
4
Ratings
0 0 0
Version
1
Created
Updated
License
N/A
Applies to
  • librarything.co.uk
  • librarything.com
  • librarything.de
  • librarything.net
  • librarything.org

Author's Description

This script changes the sort order of works on the "Combine/separation" pages of LibraryThing to ignore words like A, An, The, etc., at the beginning of work titles. Default is English, but you can add others as you see fit (and they'll stick around).
Notice that with German articles added into the new input box, Die Canterbury Schwestern and The Canterbury Sisters now sort by C instead of D and T. You can also use this temporarily to ignore parts of the title where an author's works are often prefixed. For example, adding "Blake" and "William Blake" to the input field results in the first entries sorting by numbers instead:
Bonus: It also ignores punctuation. Caveat: It currently doesn't work for compound articles such as L' (just those with a space after them).

Share