Merge pull request #185 from patbolo/bugfix/7819

FIX 7819
This commit is contained in:
Sam Minnée 2012-08-27 21:52:49 -07:00
commit 24b0e5dbad

View File

@ -95,7 +95,7 @@ JS
// Don't filter list when a detail view is requested,
// to avoid edge cases where the filtered list wouldn't contain the requested
// record due to faulty session state (current folder not always encoded in URL, see #7408).
if($this->request->param('ID') == 'field') {
if(!$folder->ID && ($this->request->param('ID') == 'field')) {
return $list;
}