Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 11
Línea 1364... Línea 1364...
1364
            echo $OUTPUT->render_from_template('qbank_managecategories/choose_category', []);
1364
            echo $OUTPUT->render_from_template('qbank_managecategories/choose_category', []);
1365
            return;
1365
            return;
1366
        }
1366
        }
1367
        // Pagination.
1367
        // Pagination.
1368
        $pageingurl = new \moodle_url($this->base_url());
1368
        $pageingurl = new \moodle_url($this->base_url());
-
 
1369
        // TODO MDL-82312: it really should not be necessary to set filter here, and not like this.
-
 
1370
        // This should be handled in baseurl, but it isn't so we do this so Moodle basically works for now.
-
 
1371
        $pageingurl->param('filter', json_encode($this->pagevars['filter']));
1369
        $pagingbar = new \paging_bar($this->totalcount, $page, $perpage, $pageingurl);
1372
        $pagingbar = new \paging_bar($this->totalcount, $page, $perpage, $pageingurl);
1370
        $pagingbar->pagevar = 'qpage';
1373
        $pagingbar->pagevar = 'qpage';
1371
        echo $OUTPUT->render($pagingbar);
1374
        echo $OUTPUT->render($pagingbar);
Línea 1372... Línea 1375...
1372
 
1375