Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

FIX 7819 Check if the current folder ID is in the url before assuming…

… the list should not filter by folder ID
  • Loading branch information...
commit 62cfd871b61531d1e8d3b41f3b96843d934f9226 1 parent 149de5e
@patbolo patbolo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  code/controllers/AssetAdmin.php
View
2  code/controllers/AssetAdmin.php
@@ -95,7 +95,7 @@ public function getList() {
// 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;
}

0 comments on commit 62cfd87

Please sign in to comment.
Something went wrong with that request. Please try again.