silverstripe-framework/admin
Stig Lindqvist 333a2aa8f9 BUG: CMS tree filters doesn't count the correct number of children for deleted pages
This is a bug that combines Hierarchy, Versioned and LeftAndMain admins and CMSSiteTreeFilters.

This bug can be reproduced by having a large site tree with enough deleted pages in it so it doesn't
pre load all the children pages when initially opening an admin. Filter by either 'All pages including deleted'
or 'Deleted pages'. For CMS users it will look like deleted pages are gone.

The solution involves a couple of smaller fixes in both CMS and framework modules.

1) Ensure that 'numHistoricalChildren' are used instead of 'numChildren' when dealing with deleted pages
2) LeftAndMain::currentPage() deletes all the 'marking' cache previously built up by Hierarchy::markPartialTree()
3) Use Versioned::get_included_deleted() instead of raw DB queries against the DataObject tables when calculating parents in CMSSiteTreeFilter
2014-07-25 16:19:30 +12:00
..
code BUG: CMS tree filters doesn't count the correct number of children for deleted pages 2014-07-25 16:19:30 +12:00
css Tidy up active tab styles to match background, border alignment on page tabs. 2014-01-29 15:47:15 +13:00
images Dialog icon size 2013-12-21 16:11:06 +13:00
javascript BUG Fix several issues around onmatch/onunmatch entwines. 2014-07-17 14:14:52 +12:00
scss Tidy up active tab styles to match background, border alignment on page tabs. 2014-01-29 15:47:15 +13:00
templates Updated translation masters 2013-12-19 19:51:25 +01:00
tests Fixing failing tests because ?locale= is appended to the end of the URL. 2014-01-17 13:48:46 +13:00
thirdparty Updated history.js dependency 2013-03-20 00:46:32 +01:00
_config.php Fix: WYSIWYG now returns valid HTML in tables 2014-04-01 10:16:07 +13:00
.gitignore MINOR Removing executable flag from all files (thanks miiihi) 2011-09-18 22:04:02 +02:00
config.rb Set default encoding for compass 2013-10-30 16:11:11 +00:00