NAL-i5K / tripal_chado_datasets

Provides an admin layer and forms for users to submit organisms and analysis into Chado
0 stars 0 forks source link

converting from web apollo: what info do we pull from organism? #26

Closed bradfordcondon closed 5 years ago

bradfordcondon commented 5 years ago

https://github.com/NAL-i5K/tripal_chado_datasets/blob/ecd0dfb628f19b4fbf44262fd20e17029bb368a4/tripal_chado_datasets.module#L210-L220

We now store the ORGANISM_ID. where is this line displayed so we know what info to pull?

bradfordcondon commented 5 years ago

It's used in the theme like so: <p><b>Organism:</b> <?php print $data[0]->organism; ?></p>

So I think fetching the chado common name should suffice?

bradfordcondon commented 5 years ago

resolved like so https://github.com/NAL-i5K/tripal_chado_datasets/commit/cbd69413ba0501758774e8ac1b2bdc57d8933c67

we now fetch common name for use in theme.