diff --git a/application/config/searchcis.php b/application/config/searchcis.php index 12bad025d..6d513c499 100644 --- a/application/config/searchcis.php +++ b/application/config/searchcis.php @@ -22,8 +22,9 @@ unset($config['student']['searchfields']['email']); unset($config['student']['searchfields']['tel']); $config['student']['resultfields'] = [ "s.student_uid AS uid", - "s.matrikelnr", + "s.matrikelnr AS personenkennzeichen", "p.person_id", + "p.matr_nr AS matrikelnummer", "(p.vorname || ' ' || p.nachname) AS name", "ARRAY[s.student_uid || '@' || '" . DOMAIN . "'] AS email", "CASE diff --git a/public/js/components/Cis/Profil/StudentProfil.js b/public/js/components/Cis/Profil/StudentProfil.js index fbf893b27..9b0367f84 100644 --- a/public/js/components/Cis/Profil/StudentProfil.js +++ b/public/js/components/Cis/Profil/StudentProfil.js @@ -230,6 +230,10 @@ export default { label: `${this.$p.t('person','personenkennzeichen')}`, value: this.data.personenkennzeichen }, + matrikelnummer: { + label: this.$p.t('person/matrikelnummer'), + value: this.data.matrikelnummer + }, studiengang: { label: `${this.$p.t('lehre','studiengang')}`, value: this.data.studiengang diff --git a/public/js/components/Cis/Profil/StudentViewProfil.js b/public/js/components/Cis/Profil/StudentViewProfil.js index 0f7a196f4..426bb9df3 100644 --- a/public/js/components/Cis/Profil/StudentViewProfil.js +++ b/public/js/components/Cis/Profil/StudentViewProfil.js @@ -64,6 +64,10 @@ export default { label: `${this.$p.t("person", "personenkennzeichen")}`, value: this.data.personenkennzeichen, }, + matrikelnummer: { + label: this.$p.t('person/matrikelnummer'), + value: this.data.matrikelnummer + }, studiengang: { label: `${this.$p.t("lehre", "studiengang")}`, value: this.data.studiengang, diff --git a/public/js/components/searchbar/result/student.js b/public/js/components/searchbar/result/student.js index db31bb689..d6f7bc238 100644 --- a/public/js/components/searchbar/result/student.js +++ b/public/js/components/searchbar/result/student.js @@ -25,7 +25,7 @@ export default { return new Set(this.res.email); } }, - template: ` + template: /*html*/ ` +
+
{{ $p.t('abschlusspruefung/personenkennzeichen') }}
+
+ {{ res.personenkennzeichen }} +
+
{{ $p.t('person/matrikelnummer') }}
- {{ res.matrikelnr }} + {{ res.matrikelnummer }}