From 73274ec461fd85a16fae12becd2aa536390f9c96 Mon Sep 17 00:00:00 2001 From: Romain Quetiez Date: Fri, 13 May 2016 13:33:05 +0000 Subject: [PATCH] Customer portal: the list of service subcategories of a user request must be filtered on 'service request' SVN:trunk[4079] --- .../datamodel.itop-full-itil.xml | 37 ------------------- 1 file changed, 37 deletions(-) diff --git a/datamodels/2.x/itop-full-itil/datamodel.itop-full-itil.xml b/datamodels/2.x/itop-full-itil/datamodel.itop-full-itil.xml index 7a2836bd3b..fca956cefb 100644 --- a/datamodels/2.x/itop-full-itil/datamodel.itop-full-itil.xml +++ b/datamodels/2.x/itop-full-itil/datamodel.itop-full-itil.xml @@ -31,43 +31,6 @@ $oRet = new UserRequest(); } return $oRet; - }]]> - - - - - - - - - - - service_id AND (ISNULL(:this->request_type) OR request_type = :this->request_type) AND status != 'obsolete']]> - - - - - false - public - Overload-DBObject - Set('priority', $this->ComputePriority()); - - // Compute the request_type if not already given - $sType = $this->Get('request_type'); - if (is_null($sType) || ($sType === '')) - { - $iSvcSubcat = $this->Get('servicesubcategory_id'); - if ($iSvcSubcat != 0) - { - $sType = $this->Get('servicesubcategory_id->request_type'); - $this->Set('request_type', $sType); - } - } - - return parent::ComputeValues(); }]]>