mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-02 03:16:11 +01:00
Fixes showing multiple page types
This commit is contained in:
@@ -437,8 +437,8 @@ class AdminController
|
||||
|
||||
// Filter by page type
|
||||
if (count($flags)) {
|
||||
$type = $flags[0];
|
||||
$collection = $collection->ofType($type);
|
||||
$types = $flags;
|
||||
$collection = $collection->ofOneOfTheseTypes($types);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user