Holger Schurig [Thu, 25 Jun 2009 14:14:22 +0000 (16:14 +0200)]
history: convert all get_XXX() functions from the history plugin so
that they don't return file.title, file.mtime, file.whatever (or a
subset of this), but instead the whole file object.
Holger Schurig [Thu, 25 Jun 2009 12:53:59 +0000 (14:53 +0200)]
hierarchy: fix ordering of menu entries
Previously the code tried to determine a new "file.order" value by
iterating over all files, looking for the highest order. It then
assigned order+100 to a file which didn't have a an order specified.
This turned out to be a flaw of thinking, because the order in which
files are is non-deterministic.