refactor TagJob, TagLib and single TagLibs for dynamic use of typeId, add temporary testfile application/libraries/tags/CoreFiftyFiveTagLib.php for testing person_id

This commit is contained in:
ma0068
2026-04-30 11:17:39 +02:00
parent 21eb95bb23
commit d1fa5f64c4
15 changed files with 211 additions and 157 deletions
@@ -246,9 +246,13 @@ export default {
this.reload();
},
rebuildPrestudentTags(){
const prestudent_id = this.headerData[0].prestudent_id;
const params = {
id : this.headerData[0].prestudent_id,
typeId: 'prestudent_id'
};
return this.$api
.call(ApiTag.rebuildTagsPrestudent({prestudent_id}))
.call(ApiTag.rebuildTagsforTypeId(params))
.then(result => {
this.rebuildData = result.data;
console.log("Rebuild manually triggered");