FSN#33339 API2 ook bijlagen ondersteunen

svn path=/Website/trunk/; revision=25676
This commit is contained in:
Jos Groot Lipman
2015-07-22 10:07:59 +00:00
parent d9f511e383
commit d562b8e229
3 changed files with 9 additions and 3 deletions

View File

@@ -16,6 +16,7 @@
<!-- #include file="../Shared/discx3d.inc" -->
<!-- #include file="../mld/mld.inc" -->
<!-- #include file="model_issueobjects.inc"-->
<!-- #include file="model_issuetypes.inc"-->
<!-- #include file="model_notes.inc"-->
<!-- #include file="model_orders.inc"-->
<!-- #include file="./model_custom_fields.inc"-->
@@ -82,7 +83,7 @@ function model_issues(mld_key, params)
return " mld_melding.mld_melding_key = mld_opdr.mld_melding_key(+) ";
}
},
"custom_fields" : { model: new model_custom_fields("MLD", "mld_melding_key", { readman: true, readuse: true }),
"custom_fields" : { model: new model_custom_fields("MLD", "mld_melding_key", { pNiveau: "M", readman: true, readuse: true }),
joinfield: "flexparentkey"
}
};
@@ -542,6 +543,10 @@ function model_issues(mld_key, params)
mld.setmeldingstatus(the_key, 5);
}
this.search = {
"filters": ["id"]
};
if (mld_key > 0)
{
params.filter = params.filter || {};