|  | @@ -17,7 +17,9 @@ from tracim.controllers import TIMWorkspaceContentRestController
 | 
	
		
			
			| 17 | 17 |  from tracim.lib import CST
 | 
	
		
			
			| 18 | 18 |  from tracim.lib.base import BaseController
 | 
	
		
			
			| 19 | 19 |  from tracim.lib.base import logger
 | 
	
		
			
			| 20 |  | -from tracim.lib.utils import SameValueError, get_valid_header_file_name
 | 
	
		
			
			|  | 20 | +from tracim.lib.utils import SameValueError
 | 
	
		
			
			|  | 21 | +from tracim.lib.utils import get_valid_header_file_name
 | 
	
		
			
			|  | 22 | +from tracim.lib.utils import str_as_bool
 | 
	
		
			
			| 21 | 23 |  from tracim.lib.content import ContentApi
 | 
	
		
			
			| 22 | 24 |  from tracim.lib.helpers import convert_id_into_instances
 | 
	
		
			
			| 23 | 25 |  from tracim.lib.predicates import current_user_is_reader
 | 
	
	
		
			
			|  | @@ -763,8 +765,8 @@ class UserWorkspaceFolderRestController(TIMRestControllerWithBreadcrumb):
 | 
	
		
			
			| 763 | 765 |            * show_archived: bool: Display archived contents or hide them
 | 
	
		
			
			| 764 | 766 |              if False
 | 
	
		
			
			| 765 | 767 |          """
 | 
	
		
			
			| 766 |  | -        show_deleted = kwargs.get('show_deleted', False)
 | 
	
		
			
			| 767 |  | -        show_archived = kwargs.get('show_archived', False)
 | 
	
		
			
			|  | 768 | +        show_deleted = str_as_bool(kwargs.get('show_deleted', ''))
 | 
	
		
			
			|  | 769 | +        show_archived = str_as_bool(kwargs.get('show_archived', ''))
 | 
	
		
			
			| 768 | 770 |          folder_id = int(folder_id)
 | 
	
		
			
			| 769 | 771 |          user = tmpl_context.current_user
 | 
	
		
			
			| 770 | 772 |          workspace = tmpl_context.workspace
 |