mirror of
https://github.com/processwire/processwire.git
synced 2025-08-19 04:51:22 +02:00
Fix issue processwire/processwire-issues#716 where $page traversal methods like next() and prev() were not working on RepeaterPage items
This commit is contained in:
@@ -1048,8 +1048,7 @@ class PageTraversal {
|
||||
$siblings->prepend($page);
|
||||
}
|
||||
|
||||
$siblings = $this->nextAll($page, '', $siblings);
|
||||
|
||||
$siblings = $this->nextAllSiblings($page, '', $siblings);
|
||||
$all = $page->wire('pages')->newPageArray();
|
||||
$stop = false;
|
||||
|
||||
@@ -1100,8 +1099,7 @@ class PageTraversal {
|
||||
$siblings->add($page);
|
||||
}
|
||||
|
||||
$siblings = $this->prevAll($page, '', $siblings);
|
||||
|
||||
$siblings = $this->prevAllSiblings($page, '', $siblings);
|
||||
$all = $page->wire('pages')->newPageArray();
|
||||
$stop = false;
|
||||
|
||||
|
Reference in New Issue
Block a user