mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-19 16:02:15 +00:00
Use Advanced search for CIS & StV
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user