|  | @@ -64,9 +64,16 @@ class Workspace(DeclarativeBase):
 | 
	
		
			
			| 64 | 64 |      revisions = relationship("ContentRevisionRO")
 | 
	
		
			
			| 65 | 65 |  
 | 
	
		
			
			| 66 | 66 |      @hybrid_property
 | 
	
		
			
			| 67 |  | -    def contents(self):
 | 
	
		
			
			|  | 67 | +    def contents(self) -> ['Content']:
 | 
	
		
			
			| 68 | 68 |          # Return a list of unique revisions parent content
 | 
	
		
			
			| 69 |  | -        return list(set([revision.node for revision in self.revisions]))
 | 
	
		
			
			|  | 69 | +        contents = []
 | 
	
		
			
			|  | 70 | +        for revision in self.revisions:
 | 
	
		
			
			|  | 71 | +            # TODO BS 20161209: This ``revision.node.workspace`` make a lot
 | 
	
		
			
			|  | 72 | +            # of SQL queries !
 | 
	
		
			
			|  | 73 | +            if revision.node.workspace == self and revision.node not in contents:
 | 
	
		
			
			|  | 74 | +                contents.append(revision.node)
 | 
	
		
			
			|  | 75 | +
 | 
	
		
			
			|  | 76 | +        return contents
 | 
	
		
			
			| 70 | 77 |  
 | 
	
		
			
			| 71 | 78 |      @property
 | 
	
		
			
			| 72 | 79 |      def calendar_url(self) -> str:
 |