Project

General

Profile

« Previous | Next » 

Revision 8e240daf

Added by Lorna Morris over 10 years ago

added filter criteria to Classification to remove data that isn't a taxonomy term

View differences:

7.x/modules/dwca_export/dwca_export.views_default.inc
406 406
	$handler->display->display_options['sorts']['tid']['id'] = 'tid';
407 407
	$handler->display->display_options['sorts']['tid']['table'] = 'taxonomy_term_data';
408 408
	$handler->display->display_options['sorts']['tid']['field'] = 'tid';
409
	/* Filter criterion: Taxonomy vocabulary: Machine name */ 
410
	$handler->display->display_options['filters']['machine_name']['id'] = 'machine_name'; 
411
	$handler->display->display_options['filters']['machine_name']['table'] = 'taxonomy_vocabulary'; 
412
	$handler->display->display_options['filters']['machine_name']['field'] = 'machine_name'; 
413
	$handler->display->display_options['filters']['machine_name']['operator'] = 'not in'; 
414
	$handler->display->display_options['filters']['machine_name']['value'] = array(
415
	  'image_keywords' => 'image_keywords',
416
	  'imaging_technique' => 'imaging_technique',
417
	  'preparation_technique' => 'preparation_technique', );
418
	
409 419
	
410 420
	/* Display: Page */
411 421
	$handler = $view->new_display('page', 'Page', 'page');

Also available in: Unified diff