fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [10232] Logistic: Added serchtype distinct location i


From: Torstein
Subject: [Fmsystem-commits] [10232] Logistic: Added serchtype distinct location id
Date: Tue, 16 Oct 2012 09:12:15 +0000

Revision: 10232
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10232
Author:   vator
Date:     2012-10-16 09:12:15 +0000 (Tue, 16 Oct 2012)
Log Message:
-----------
Logistic: Added serchtype distinct location id

Modified Paths:
--------------
    trunk/logistic/inc/class.soresource_type_requirement.inc.php

Modified: trunk/logistic/inc/class.soresource_type_requirement.inc.php
===================================================================
--- trunk/logistic/inc/class.soresource_type_requirement.inc.php        
2012-10-16 09:11:36 UTC (rev 10231)
+++ trunk/logistic/inc/class.soresource_type_requirement.inc.php        
2012-10-16 09:12:15 UTC (rev 10232)
@@ -140,6 +140,10 @@
                                        $cols .= 
"DISTINCT(type_requirement.location_id, type_requirement.project_type_id) as 
id, (type_requirement.location_id * type_requirement.project_type_id) as id, 
type_requirement.location_id, type_requirement.project_type_id ";
                                }
                        }
+                       else if($search_type && $search_type == 
'distinct_location_id')
+                       {
+                               $cols .= 
"DISTINCT(type_requirement.location_id) as id ";
+                       }
                        else
                        {
                                if($return_count) // We should only return a 
count




reply via email to

[Prev in Thread] Current Thread [Next in Thread]