[Vtigercrm-commits] [vtiger-commits] r10549 - /vtigercrm/branches/5.0.3/modules/Quotes/ListView.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Apr 4 03:38:42 EDT 2007


Author: saraj
Date: Wed Apr  4 01:38:36 2007
New Revision: 10549

Log:
* Added tablename before user_name in ORDER BY query because in the listview query users table is joined twice to get the inventory manager also. so we have to avoid ambiguous error

Modified:
    vtigercrm/branches/5.0.3/modules/Quotes/ListView.php

Modified: vtigercrm/branches/5.0.3/modules/Quotes/ListView.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Quotes/ListView.php (original)
+++ vtigercrm/branches/5.0.3/modules/Quotes/ListView.php Wed Apr  4 01:38:36 2007
@@ -128,7 +128,7 @@
 {
 	if($order_by == 'smownerid')
         {
-                $query .= ' ORDER BY user_name '.$sorder;
+                $query .= ' ORDER BY vtiger_users.user_name '.$sorder;
         }
         else
         {





More information about the vtigercrm-commits mailing list