link to an alternative approach that I decided against
authorhttp://smcv.pseudorandom.co.uk/ <http://smcv.pseudorandom.co.uk/@web>
Wed, 24 Mar 2010 03:27:11 +0000 (03:27 +0000)
committerJoey Hess <joey@finch.kitenet.net>
Wed, 24 Mar 2010 03:27:11 +0000 (03:27 +0000)
doc/todo/allow_plugins_to_add_sorting_methods.mdwn

index 3aa1d94a61e382be4689b1ba80805cc98657e431..1533b6c44c6a9110b172dfd90c4a5041138571fd 100644 (file)
@@ -14,6 +14,12 @@ and changing the meaning of sort=title in 4.0, though).
 Gitweb:
 <http://git.pseudorandom.co.uk/smcv/ikiwiki.git?a=shortlog;h=refs/heads/sort-hooks>
 
+I briefly tried to turn *all* the current sort types into hook functions, and
+have some of them pre-registered, but decided that probably wasn't a good idea.
+That earlier version of the branch is also available for comparison:
+
+<http://git.pseudorandom.co.uk/smcv/ikiwiki.git?a=shortlog;h=refs/heads/sort-hooks-excessive>
+
 ## Documentation extracted from the branch
 
 ### sort hook (added to [[plugins/write]])