Fix heatmap missing old activity
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				/ release (push) Has been cancelled
				
			
		
			
				
	
				testing / backend-checks (push) Has been cancelled
				
			
		
			
				
	
				testing / frontend-checks (push) Has been cancelled
				
			
		
			
				
	
				testing / test-unit (push) Has been cancelled
				
			
		
			
				
	
				testing / test-e2e (push) Has been cancelled
				
			
		
			
				
	
				testing / test-remote-cacher (redis) (push) Has been cancelled
				
			
		
			
				
	
				testing / test-remote-cacher (valkey) (push) Has been cancelled
				
			
		
			
				
	
				testing / test-remote-cacher (garnet) (push) Has been cancelled
				
			
		
			
				
	
				testing / test-remote-cacher (redict) (push) Has been cancelled
				
			
		
			
				
	
				testing / test-mysql (push) Has been cancelled
				
			
		
			
				
	
				testing / test-pgsql (push) Has been cancelled
				
			
		
			
				
	
				testing / test-sqlite (push) Has been cancelled
				
			
		
			
				
	
				testing / security-check (push) Has been cancelled
				
			
		
		
	
	
		
	
		
			Some checks failed
		
		
	
	/ release (push) Has been cancelled
				
			testing / backend-checks (push) Has been cancelled
				
			testing / frontend-checks (push) Has been cancelled
				
			testing / test-unit (push) Has been cancelled
				
			testing / test-e2e (push) Has been cancelled
				
			testing / test-remote-cacher (redis) (push) Has been cancelled
				
			testing / test-remote-cacher (valkey) (push) Has been cancelled
				
			testing / test-remote-cacher (garnet) (push) Has been cancelled
				
			testing / test-remote-cacher (redict) (push) Has been cancelled
				
			testing / test-mysql (push) Has been cancelled
				
			testing / test-pgsql (push) Has been cancelled
				
			testing / test-sqlite (push) Has been cancelled
				
			testing / security-check (push) Has been cancelled
				
			This commit is contained in:
		
					parent
					
						
							
								e596eec7bf
							
						
					
				
			
			
				commit
				
					
						f9b59e232b
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -62,7 +62,7 @@ func getUserHeatmapData(ctx context.Context, user *user_model.User, team *organi
 | 
			
		|||
		Select(groupBy+" AS timestamp, count(user_id) as contributions").
 | 
			
		||||
		Table("action").
 | 
			
		||||
		Where(cond).
 | 
			
		||||
		And("created_unix > ?", timeutil.TimeStampNow()-31536000).
 | 
			
		||||
		And("created_unix > ?", timeutil.TimeStampNow()-32054400).
 | 
			
		||||
		GroupBy("timestamp").
 | 
			
		||||
		OrderBy("timestamp").
 | 
			
		||||
		Find(&hdata)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue