silverstripe/sapphire — pull request #583 by sminnee (2012-06-28 01:01:26+00:00)
Title: BUGFIX: Allow Versioned::get_latest_version() and Version::get_version()to return results if the classname has changed.

Without this bugfix, if you had a Page that used to be a SiteTree, and you tried to use Versiond::get_version() or Versioned::get_latest_version() to return the older SiteTree version, nothing would be returned, because the results were being filtered by ClassName. This caused bugs in the history panel for certain combinbations of page classname alteration.