From d466eb5dd7dd3b87fe4444ad5c33634b46d2c03a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20Ho=CC=88rrmann?= Date: Wed, 4 Sep 2013 11:37:35 +0200 Subject: [PATCH] Handle formatted values properly --- data-sources/data.search.php | 1 + 1 file changed, 1 insertion(+) diff --git a/data-sources/data.search.php b/data-sources/data.search.php index 3cbb362..747758c 100644 --- a/data-sources/data.search.php +++ b/data-sources/data.search.php @@ -421,6 +421,7 @@ public function execute(array &$param_pool = null) { $field_pool[$field_id] = FieldManager::fetch($field_id); } $field_pool[$field_id]->appendFormattedElement($entry_xml, $values, FALSE, 'formatted', $e->get('id')); + $field_pool[$field_id]->appendFormattedElement($entry_xml, $values, FALSE, (!empty($values['value_formatted']) ? 'formatted' : null), $e->get('id')); } }