Skip to content
Snippets Groups Projects
Commit 30c88d9d authored by Prasad's avatar Prasad
Browse files

Fixes #895: Picklist color mapping was not picked right

parent 7bb2b489
No related branches found
No related tags found
No related merge requests found
......@@ -191,7 +191,7 @@
{assign var=PICKLIST_FIELD_ID value={$LISTVIEW_HEADER->getId()}}
{/if}
{/if}
<span {if !empty($LISTVIEW_ENTRY_VALUE)} class="picklist-color picklist-{$PICKLIST_FIELD_ID}-{Vtiger_Util_Helper::convertSpaceToHyphen($LISTVIEW_ENTRY->getRaw($LISTVIEW_HEADERNAME))}" {/if}> {$LISTVIEW_ENTRY_VALUE} </span>
<span {if !empty($LISTVIEW_ENTRY_VALUE)} class="picklist-color picklist-{$PICKLIST_FIELD_ID}-{Vtiger_Util_Helper::convertSpaceToHyphen($LISTVIEW_ENTRY_RAWVALUE)}" {/if}> {$LISTVIEW_ENTRY_VALUE} </span>
{else if $LISTVIEW_HEADER->getFieldDataType() eq 'multipicklist'}
{assign var=MULTI_RAW_PICKLIST_VALUES value=explode('|##|',$LISTVIEW_ENTRY->getRaw($LISTVIEW_HEADERNAME))}
{assign var=MULTI_PICKLIST_VALUES value=explode(',',$LISTVIEW_ENTRY_VALUE)}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment