Index: branches/unlabeled/unlabeled-1.7.2/core/units/visits/visits_tag_processor.php =================================================================== diff -u -N -r2468 -r2550 --- branches/unlabeled/unlabeled-1.7.2/core/units/visits/visits_tag_processor.php (.../visits_tag_processor.php) (revision 2468) +++ branches/unlabeled/unlabeled-1.7.2/core/units/visits/visits_tag_processor.php (.../visits_tag_processor.php) (revision 2550) @@ -40,6 +40,7 @@ LEFT JOIN '.TABLE_PREFIX.'Affiliates af ON (vis.AffiliateId = af.AffiliateId) LEFT JOIN '.TABLE_PREFIX.'Visits vis ON (ord.VisitId = vis.VisitId) WHERE af.PortalUserId = '.$object_user->GetDBField('PortalUserId').' + AND ord.Status = 4 GROUP BY af.PortalUserId '; @@ -117,6 +118,35 @@ return $main_processor->T($params); } */ + + /** + * Enter description here... + * + * @param unknown_type $params + * @return kDBList + */ + + function &GetList($params) + { + $list_name = $this->SelectParam($params, 'list_name,name'); + if (!$list_name) { + $list_name = $this->Application->Parser->GetParam('list_name'); + } + $types = $this->SelectParam($params, 'types'); + $special=''; + if ($types=='myvisitororders' || $types=='myvisitors'){ + $special = 'incommerce'; + $names_mapping = $this->Application->GetVar('NamesToSpecialMapping'); + $names_mapping[$list_name] = $special; + $this->Application->SetVar('NamesToSpecialMapping', $names_mapping); + + } + + + return parent::GetList($params); + } + } + ?> \ No newline at end of file