[Vtigercrm-commits] [vtiger development] #4465: i18n issue at filters for custom view

vtiger development vtiger-tickets at trac.vtiger.com
Tue May 13 16:40:48 EDT 2008


#4465: i18n issue at filters for custom view
------------------------+---------------------------------------------------
  Reporter:  frankpie   |       Owner:  asha    
      Type:  defect     |      Status:  reopened
  Priority:  blocker    |   Milestone:  5.0.4   
 Component:  vtigercrm  |     Version:  5.0.4   
Resolution:             |    Keywords:          
------------------------+---------------------------------------------------
Changes (by frankpie):

  * status:  closed => reopened
  * resolution:  fixed =>

Comment:

 The issue is only almost fixed. The following conditions will make the
 custom view fail: Setup a accounts custom picklist with a picklist enry
 "aktiv" (note that this has a correspondig entry in the accounts lang
 files); Build a custom view with a condition <customfield> eguals 'aktiv'
 --> you will get an empty list (non English default language), even if you
 have set this field at an account entry.

 Fix: this is caused by CustomView.php

 line 1049:[[BR]]
 // Use strict type comparision, refer strpos for more details[[BR]]
 if ($stridx !== 0) {[[BR]]
 $value = $mod_key;[[BR]]
 break;[[BR]]

 change it to: [[BR]]
 // Use strict type comparision, refer strpos for more details[[BR]]
 if ($stridx != false) {[[BR]]
 $value = $mod_key;[[BR]]
 break;[[BR]]

-- 
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/4465#comment:3>
vtiger development <http://trac.vtiger.com/>
vtigerCRM




More information about the vtigercrm-commits mailing list