create follow-up event: avoid assignment of predecessors to the new event
This commit is contained in:
		
							parent
							
								
									8d24a40724
								
							
						
					
					
						commit
						576a69e78b
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		|  | @ -383,8 +383,9 @@ class CreateFollowUpEvent(CreateConcept, BaseFollowUpController): | ||||||
|         bevt = baseObject(self.baseEvent) |         bevt = baseObject(self.baseEvent) | ||||||
|         bevt.assignChild(obj, self.followsPredicate) |         bevt.assignChild(obj, self.followsPredicate) | ||||||
|         for rel in bevt.getParentRelations(): |         for rel in bevt.getParentRelations(): | ||||||
|             if rel.predicate != self.view.typePredicate: |             if rel.predicate not in (self.view.typePredicate, self.followsPredicate): | ||||||
|                 obj.assignParent(rel.first, rel.predicate) |                 obj.assignParent(rel.first, rel.predicate, | ||||||
|  |                                  order=rel.order, relevance=rel.relevance) | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| class EditFollowUpEvent(EditConcept, BaseFollowUpController): | class EditFollowUpEvent(EditConcept, BaseFollowUpController): | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue