mirror of
https://github.com/moodle/moodle.git
synced 2025-04-25 18:35:14 +02:00
MDL-73456 Questions: Question bank tertiary navigation is not correct
"Questions" is always selected even the user is editing the question category
This commit is contained in:
parent
541d999d27
commit
c789e1f4f0
@ -66,7 +66,7 @@ class qbank_actionbar implements templatable, renderable {
|
||||
$menu[$importlink->out(false)] = get_string('import', 'question');
|
||||
$menu[$exportlink->out(false)] = get_string('export', 'question');
|
||||
|
||||
$urlselect = new url_select($menu, $this->currenturl, null, 'questionbankaction');
|
||||
$urlselect = new url_select($menu, $this->currenturl->out(false), null, 'questionbankaction');
|
||||
$urlselect->set_label('questionbankactionselect', ['class' => 'accesshide']);
|
||||
|
||||
return ['questionbankselect' => $urlselect->export_for_template($output)];
|
||||
|
Loading…
x
Reference in New Issue
Block a user