mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #258 from creamarketing/assetadmin-root-pagination
BUG: Fixed pagination functionality on root assets folder
This commit is contained in:
commit
a0d04e8843
@ -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(!$folder->ID && ($this->request->param('ID') == 'field')) {
|
||||
if(!$folder->ID && $this->request->requestVar('ID') === null && ($this->request->param('ID') == 'field')) {
|
||||
return $list;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user