| 
					
				 | 
			
			
				@@ -1183,10 +1183,18 @@ function materio_search_api_advanced_search_select_callback($form, &$form_state) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   return $form['filters']; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 function materio_search_api_advanced_search_addfilter_callback($form, &$form_state) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  return $form['filters']; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  $commands = array(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  $commands[] = ajax_command_replace('#advancedsearch-filters-wrapper', render($form['filters'])); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  $commands[] = array('command'=>'ajaxAfterAddedFilterLine'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  return array("#type"=>'ajax', "#commands"=>$commands); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  // return $form['filters']; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 function materio_search_api_advanced_search_rmline_callback($form, &$form_state) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  return $form['filters']; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  $commands = array(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  $commands[] = ajax_command_replace('#advancedsearch-filters-wrapper', render($form['filters'])); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  $commands[] = array('command'=>'ajaxAfterRemovedFilterLine'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  return array("#type"=>'ajax', "#commands"=>$commands); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  // return $form['filters']; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 function materio_search_api_advanced_search_form_validate($form, &$form_state){ 
			 |