Skip to content

Commit

Permalink
Added active tag for services
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanbarroca committed Sep 18, 2017
1 parent 98a7484 commit dcef6b1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,7 @@ function markaspot_open311_tax_map_service($taxonomy_term) {
$service['metadata'] = "false";
$service['type'] = 'realtime';
$service['description'] = $taxonomy_term->description;
$service['active'] = $taxonomy_term->field_active[$lang][0]['value'];
foreach ($taxonomy_term->field_tags[$lang] as $tag) {
$service['keywords'][] = taxonomy_term_load($tag['tid'])->name;
}
Expand Down

0 comments on commit dcef6b1

Please sign in to comment.