aboutsummaryrefslogtreecommitdiff
path: root/templates/sidebar
diff options
context:
space:
mode:
authorDavid Siegfried <david.siegfried@uni-vechta.de>2022-09-30 08:29:51 +0000
committerDavid Siegfried <david.siegfried@uni-vechta.de>2022-09-30 08:29:51 +0000
commitff24292c8f72dfba0c8e7c5bf275c82f5901008d (patch)
treeec8c0befcdee69059a2555176a5eb38a2ab8eff3 /templates/sidebar
parente6fea248e6b166bff7811a2dd4f0a836c3fbf3b6 (diff)
replace course-filter in course-management and add order function, closes #1583
Closes #1583 Merge request studip/studip!1013
Diffstat (limited to 'templates/sidebar')
-rw-r--r--templates/sidebar/select-widget.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/sidebar/select-widget.php b/templates/sidebar/select-widget.php
index cadd277..7c7b039 100644
--- a/templates/sidebar/select-widget.php
+++ b/templates/sidebar/select-widget.php
@@ -3,7 +3,7 @@
<?= (strtolower($method) == 'post') ? CSRFProtection::tokenTag() : ''; ?>
<select class="sidebar-selectlist <?= $class ?> <? if ($__is_nested): ?>nested-select<? endif; ?>" <? !empty($size) ? printf('size="%u"', $size) : '' ?> <?= !empty($attributes) ? arrayToHtmlAttributes($attributes) : '' ?>
name="<?= sprintf('%s%s', htmlReady($name), $multiple ? '[]' : '') ?>" <? if ($multiple) echo 'multiple'; ?>
- aria-label="<?= htmlReady($title) ?>">
+ aria-label="<?= htmlReady($title) ?>" <?= $dropdownAutoWidth ? 'data-dropdown-auto-width="1"' : '' ?>>
<? foreach ($elements as $element): ?>
<? if ($element instanceof SelectGroupElement && count($element->getElements()) > 0): ?>