Merge branch 'MDL-68427-master' of git://github.com/andrewnicols/moodle
This commit is contained in:
@@ -3093,7 +3093,7 @@ class paging_bar implements renderable, templatable {
|
||||
|
||||
if ($this->page > 0) {
|
||||
$data->previous = [
|
||||
'page' => $this->page - 1,
|
||||
'page' => $this->page,
|
||||
'url' => (new moodle_url($this->baseurl, [$this->pagevar => $this->page - 1]))->out(false)
|
||||
];
|
||||
}
|
||||
@@ -3139,7 +3139,7 @@ class paging_bar implements renderable, templatable {
|
||||
|
||||
if ($this->page + 1 != $lastpage) {
|
||||
$data->next = [
|
||||
'page' => $this->page + 1,
|
||||
'page' => $this->page + 2,
|
||||
'url' => (new moodle_url($this->baseurl, [$this->pagevar => $this->page + 1]))->out(false)
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user