From b344b5925af82a6f32d15498ae8e49c83fd67ea8 Mon Sep 17 00:00:00 2001 From: cgfhtw Date: Tue, 24 Jun 2025 15:19:21 +0200 Subject: [PATCH] Use Advanced search for CIS & StV --- public/js/apps/Cis.js | 6 +++--- public/js/components/Stv/Studentenverwaltung.js | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/public/js/apps/Cis.js b/public/js/apps/Cis.js index 962dec5c1..bd538a067 100644 --- a/public/js/apps/Cis.js +++ b/public/js/apps/Cis.js @@ -16,9 +16,9 @@ const app = Vue.createApp({ cssclass: "", calcheightonly: true, types: [ - "mitarbeiter", + "employee", "student", - "raum", + "room", "organisationunit" ], actions: { @@ -112,7 +112,7 @@ const app = Vue.createApp({ }, methods: { searchfunction: function(searchsettings) { - return this.$api.call(ApiSearchbar.search(searchsettings)); + return this.$api.call(ApiSearchbar.searchAdvanced(searchsettings)); } } }); diff --git a/public/js/components/Stv/Studentenverwaltung.js b/public/js/components/Stv/Studentenverwaltung.js index 5f0569973..6cd472ea8 100644 --- a/public/js/components/Stv/Studentenverwaltung.js +++ b/public/js/components/Stv/Studentenverwaltung.js @@ -76,7 +76,7 @@ export default { cssclass: "position-relative", calcheightonly: true, types: [ - "studentStv", + "student", "prestudent" ], actions: { @@ -139,7 +139,7 @@ export default { this.$refs.stvList.reload(); }, searchfunction(params, config) { - return this.$api.call(ApiSearchbar.search(params), config); + return this.$api.call(ApiSearchbar.searchAdvanced(params), config); } }, created() {