Skip to content

Commit

Permalink
Add dataframe_search mode in component_common
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-render committed Oct 12, 2022
1 parent c98c60e commit a5be576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dedalo/component_common/class.component_common.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public static function get_instance($component_name=null, $tipo=null, $parent=nu
dump($parent," parent - DEDALO_SECTION_ID_TEMP:".DEDALO_SECTION_ID_TEMP);
throw new Exception("Error Processing Request. trying to use wrong var: '$parent' as parent to load as component", 1);
}
$ar_valid_modo = array('edit','list','search','simple','list_tm','tool_portal','tool_lang','edit_tool','indexation','selected_fragment','tool_indexation','tool_transcription','print','edit_component','load_tr','update','portal_list','list_thesaurus','portal_list_view_mosaic','edit_in_list','edit_note','tool_structuration','dataframe_edit','tool_description','view_tool_description','player','json');
$ar_valid_modo = array('edit','list','search','simple','list_tm','tool_portal','tool_lang','edit_tool','indexation','selected_fragment','tool_indexation','tool_transcription','print','edit_component','load_tr','update','portal_list','list_thesaurus','portal_list_view_mosaic','edit_in_list','edit_note','tool_structuration','dataframe_edit','dataframe_search','tool_description','view_tool_description','player','json');
if ( empty($modo) || !in_array($modo, $ar_valid_modo) ) {
if(SHOW_DEBUG===true) {
throw new Exception("Error Processing Request. trying to use wrong var: '$modo' as modo to load as component", 1); ;
Expand Down

0 comments on commit a5be576

Please sign in to comment.