Project

General

Profile

« Previous | Next » 

Revision a488aeb6

Added by Andreas Kohlbecker over 9 years ago

adapting dataportal to changes made in r21320

View differences:

7.x/modules/cdm_dataportal/cdm_api/cdm_api.module
2036 2036
 */
2037 2037
function cdm_get_taxontrees_as_options($add_none_option = FALSE) {
2038 2038

  
2039
  $taxonTrees = cdm_ws_get(CDM_WS_PORTAL_TAXONOMY);
2039
  $taxonTrees = cdm_ws_fetch_all(CDM_WS_PORTAL_TAXONOMY);
2040 2040

  
2041 2041
  $default_classification_uuid = variable_get(CDM_TAXONOMICTREE_UUID, FALSE);
2042 2042
  $default_classification_label = '';
7.x/modules/cdm_dataportal/theme/cdm_dataportal.page.theme
218 218

  
219 219
  $classification = cdm_dataportal_searched_in_classification();
220 220

  
221
  if (  count(cdm_ws_get(CDM_WS_PORTAL_TAXONOMY)) > 1 ) {
221

  
222
  if (  count(cdm_ws_fetch_all(CDM_WS_PORTAL_TAXONOMY)) > 1 ) { // FIXME use a count REST method for this!!!
222 223
    $out .= '<div id="search-summary">' . t('results for') . ' ';
223 224
    if ($classification != NULL) {
224 225
      $out .=  $classification->titleCache ;

Also available in: Unified diff