[Vtigercrm-commits] [Vtiger development] #8124: Report condition - Problem with apostrophe
Vtiger development
vtiger-tickets at trac.vtiger.com
Wed Jul 2 19:14:35 GMT 2014
#8124: Report condition - Problem with apostrophe
------------------------+--------------------------------
Reporter: jason | Owner: developer
Type: defect | Status: new
Priority: unassigned | Milestone: 6.1.0
Component: vtigercrm | Version: 6.0.0
Severity: Medium | Keywords: report, apostrophe
------------------------+--------------------------------
When use filters in the reports, they not have access to conditions after
saving when the condition contain apostrophe.
We can fix this problem like this :
vtigercrm/layouts/vlayout/modules/Vtiger/AdvanceFilterCondition.tpl
31 {if $FIELD_MODEL->getFieldDataType() == 'reference'}
32 {$FIELD_TYPE='V'}
33 {/if}
''34- {$FIELD_INFO['value'] =
decode_html($CONDITION_INFO['value'])}''
'''34+ {$FIELD_INFO['value'] =
$CONDITION_INFO['value']|escape}'''
35 selected="selected"
36 {/if}
37 {if ($MODULE_MODEL->get('name') eq 'Calendar') && ($FIELD_NAME eq
'recurringtype')}
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8124>
Vtiger development <http://trac.vtiger.com/>
Vtiger CRM
More information about the vtigercrm-commits
mailing list