Documentation
¶
Overview ¶
Workflow reading-list is a more advanced example of fuzzy filtering.
It contains a custom implementation of fuzzy.Sortable and its own filtering function to keep books sorted by unread/unpublished/read status.
Regular fuzzy sorting only considers match quality, so with the query "kingkiller", the Kingkiller Chronicle series would be sorted based on where the term "kingkiller" appears in the title, i.e. shortest title first:
The Doors of Stone (The Kingkiller Chronicle, #3) [unpublished] The Wise Man's Fear (The Kingkiller Chronicle, #2) [unread] The Name of the Wind (The Kingkiller Chronicle, #1) [read]
The custom implementation sorts by status then match quality, thus keeping unread books before unpublished and read ones:
The Wise Man's Fear (The Kingkiller Chronicle, #2) [unread] The Doors of Stone (The Kingkiller Chronicle, #3) [unpublished] The Name of the Wind (The Kingkiller Chronicle, #1) [read]
Click to show internal directories.
Click to hide internal directories.