From 2591a5ac0a38b7e2252eb29f5989b871ed1731ee Mon Sep 17 00:00:00 2001 From: Jos Groot Lipman Date: Tue, 3 Oct 2017 09:46:03 +0000 Subject: [PATCH] FSN#44427 Bijlagen upload voor issues. Prio ook default '3' svn path=/Website/branches/v2017.2/; revision=35522 --- APPL/API2/model_issues.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/APPL/API2/model_issues.inc b/APPL/API2/model_issues.inc index 018921c3a6..26f043b5a9 100644 --- a/APPL/API2/model_issues.inc +++ b/APPL/API2/model_issues.inc @@ -424,7 +424,6 @@ function model_issues(mld_key, params) this.REST_POST = function (params, jsondata) /* new call */ { -__Logging = 3; api2.cleanup_data(this, jsondata); // Doet een generieke dereference van alle foreign's // @@ -449,6 +448,8 @@ __Logging = 3; jsondata.account = kpkey; if (!jsondata.issuedate) jsondata.issuedate = new Date(); + if (!jsondata.priority) + jsondata.priority = 3; // if (!jsondata.contact) jsondata.contact = user_key; // Als er geen aanvrager opgegeven is, dan de huidige gebruiker invullen.