inactivate last change (show 'closed' state by default in listings), seems not to be really useful
This commit is contained in:
		
							parent
							
								
									1ba43979a8
								
							
						
					
					
						commit
						b289b41807
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -234,8 +234,8 @@ class BaseWorkItemsView(object): | ||||||
|         state = form.get('wi_state') or self.options.wi_state |         state = form.get('wi_state') or self.options.wi_state | ||||||
|         if not state: |         if not state: | ||||||
|             result['state'] = ['planned', 'accepted', 'running', 'done',  |             result['state'] = ['planned', 'accepted', 'running', 'done',  | ||||||
|                     'done_x', 'finished', 'delegated', 'moved',  |                     'done_x', 'finished', 'delegated', 'moved', 'cancelled'] | ||||||
|                     'closed', 'cancelled'] |                     #, 'closed'] | ||||||
|         elif state != 'all': |         elif state != 'all': | ||||||
|             result['state'] = state |             result['state'] = state | ||||||
|         return result |         return result | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue