add ntu_ga survey init sorting
This commit is contained in:
		
							parent
							
								
									d0364c788b
								
							
						
					
					
						commit
						19068bc8b8
					
				| 
						 | 
				
			
			@ -20,6 +20,7 @@ module Faq
 | 
			
		|||
 | 
			
		||||
    widgets do
 | 
			
		||||
      default_widget do
 | 
			
		||||
        sorting 'desc(:postdate)'
 | 
			
		||||
        enable ["typeA"]
 | 
			
		||||
        query 'Survey.any_of( {:postdate.lte => Time.now} )'
 | 
			
		||||
        # link_field :title, {:method => 'panel_survey_front_end_survey_path',:args=>:self}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue