From b8fb8d57420ea3f7a00c5871fefae63155b50e8a Mon Sep 17 00:00:00 2001 From: Satyam Valjibhai Mangroliya <93871216+satyammangroliya@users.noreply.github.com> Date: Mon, 17 Nov 2025 15:23:00 +0100 Subject: [PATCH 1/3] Update user type selection label in search GUI Search part of this mantis issue https://mantis.ilias.de/view.php?id=44424 --- .../ILIAS/Search/classes/class.ilRepositorySearchGUI.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/ILIAS/Search/classes/class.ilRepositorySearchGUI.php b/components/ILIAS/Search/classes/class.ilRepositorySearchGUI.php index 320e2ad6de01..3e8098d2b7f8 100755 --- a/components/ILIAS/Search/classes/class.ilRepositorySearchGUI.php +++ b/components/ILIAS/Search/classes/class.ilRepositorySearchGUI.php @@ -251,13 +251,13 @@ public static function fillAutoCompleteToolbar( } if (isset($a_options['user_type']) && count((array) $a_options['user_type'])) { - $si = new ilSelectInputGUI("", "user_type"); + $si = new ilSelectInputGUI($lng->txt("course_role"), "user_type"); $si->setOptions($a_options['user_type']); $si->setValue($a_options['user_type_default']); if (!$a_sticky) { - $toolbar->addInputItem($si); + $toolbar->addInputItem($si, true); } else { - $toolbar->addStickyItem($si); + $toolbar->addStickyItem($si, true); } } From 06528cdc8b0ece87baeb330795c1d231fb30a418 Mon Sep 17 00:00:00 2001 From: Satyam Valjibhai Mangroliya <93871216+satyammangroliya@users.noreply.github.com> Date: Mon, 17 Nov 2025 15:26:02 +0100 Subject: [PATCH 2/3] Add course role translation to ilias_de.lang --- lang/ilias_de.lang | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lang/ilias_de.lang b/lang/ilias_de.lang index c43ac44a6c85..cd2d1f2f9266 100644 --- a/lang/ilias_de.lang +++ b/lang/ilias_de.lang @@ -3853,6 +3853,7 @@ common#:#country_free_text#:#Land (Freitext) common#:#country_selection#:#Land (Selektionsliste) common#:#course#:#Kurs common#:#courses#:#Kurse +common#:#course_role#:#Kursrolle common#:#create#:#Erstellen common#:#create_date#:#Erstellt am common#:#create_export_file#:#Exportdatei erstellen @@ -17893,4 +17894,4 @@ wsp#:#wsp_type_ltiv#:#Zertifikat: LTI-Konsument wsp#:#wsp_type_scov#:#Zertifikat: SCORM wsp#:#wsp_type_tstv#:#Zertifikat: Test wsp#:#wsp_type_webr#:#Weblink -wsp#:#wsp_type_wfld#:#Ordner \ No newline at end of file +wsp#:#wsp_type_wfld#:#Ordner From 31890339bae767cb3210b9de32b436fce5b0e56e Mon Sep 17 00:00:00 2001 From: Satyam Valjibhai Mangroliya <93871216+satyammangroliya@users.noreply.github.com> Date: Mon, 17 Nov 2025 15:28:06 +0100 Subject: [PATCH 3/3] Add 'Course Role' entry to language file --- lang/ilias_en.lang | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lang/ilias_en.lang b/lang/ilias_en.lang index effe2b2a375f..aa25716456e3 100755 --- a/lang/ilias_en.lang +++ b/lang/ilias_en.lang @@ -3854,6 +3854,7 @@ common#:#country_free_text#:#Country (Free Text Input) common#:#country_selection#:#Country (Drop Down Selection) common#:#course#:#Course common#:#courses#:#Courses +common#:#course_role#:#Course Role common#:#create#:#Create common#:#create_date#:#Created on common#:#create_export_file#:#Create export file @@ -17894,4 +17895,4 @@ wsp#:#wsp_type_ltiv#:#Certificate: LTI Consumer wsp#:#wsp_type_scov#:#Certificate: SCORM wsp#:#wsp_type_tstv#:#Certificate: Test wsp#:#wsp_type_webr#:#Weblink -wsp#:#wsp_type_wfld#:#Folder \ No newline at end of file +wsp#:#wsp_type_wfld#:#Folder