Skip to content

Commit

Permalink
Merge pull request #59 from statonlab/null_empty
Browse files Browse the repository at this point in the history
join on indexer
  • Loading branch information
bradfordcondon authored Aug 2, 2018
2 parents 9092b1a + a644b82 commit 602e9c7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ class data__ontology_data extends TripalField {
$query->condition('tct.organism_id', $record_id, '=');
}

$query->join('public.tripal_cvterm_entity_linker', 'tcel', 'tcel.entity_id = tbt.entity_id');
$results = ((int) $query->countQuery()->execute()->fetchField()) > 1;
}

Expand Down

0 comments on commit 602e9c7

Please sign in to comment.