FIX 7819 Check if the current folder ID is in the url before assuming the list should not filter by folder ID

This commit is contained in:
jean 2012-08-28 16:43:54 +12:00
parent 149de5e703
commit 62cfd871b6
1 changed files with 1 additions and 1 deletions

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;
}