From 4076881c589a77002133e59777e97d7a62d8f7af Mon Sep 17 00:00:00 2001 From: Silvio Date: Tue, 25 Jun 2013 15:44:26 -0300 Subject: Tag with a text field --- timelinejs.module | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'timelinejs.module') diff --git a/timelinejs.module b/timelinejs.module index 1bf5644..9fd4791 100644 --- a/timelinejs.module +++ b/timelinejs.module @@ -104,9 +104,7 @@ function timelinejs_fetch_items($nid, $format = 'json') { $nodes = timelinejs_load_events($nid); foreach ($nodes as $node) { - $content = node_load($node->entity_id); - $content->tag = taxonomy_term_load($content->field_categoria['und'][0]['tid']); - $items[] = $content; + $items[] = node_load($node->entity_id); } if (empty($items)) { -- cgit v1.2.3