From 6c1f56069ef5758e5819cf8b7942a3981bd8e195 Mon Sep 17 00:00:00 2001
From: satish <satish.dvnk@vtiger.com>
Date: Wed, 26 Apr 2017 12:34:53 +0530
Subject: [PATCH] Fixes #507 - Values in ListView not respecting user
 preferences

---
 include/ListView/ListViewController.php | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/ListView/ListViewController.php b/include/ListView/ListViewController.php
index 01de408f8..cfc9d9655 100644
--- a/include/ListView/ListViewController.php
+++ b/include/ListView/ListViewController.php
@@ -405,6 +405,10 @@ class ListViewController {
 							}
 						}
 					}
+				} elseif ($fieldDataType == 'double') {
+					if ($value) {
+						$value = CurrencyField::convertToUserFormat($value, null, true);
+					}
 				} elseif($fieldDataType == 'url') {
 					$matchPattern = "^[\w]+:\/\/^";
 					preg_match($matchPattern, $rawValue, $matches);
-- 
GitLab