Fix comparing pull requests between tags by merged_at field instead of actual_date field
This commit is contained in:
		
							parent
							
								
									4aa9c61520
								
							
						
					
					
						commit
						30b7f39c40
					
				@ -115,7 +115,7 @@ module GitHubChangelogGenerator
 | 
				
			|||||||
    #
 | 
					    #
 | 
				
			||||||
    # @return [Array] filtered issues and pull requests
 | 
					    # @return [Array] filtered issues and pull requests
 | 
				
			||||||
    def filter_issues_for_tags(newer_tag, older_tag)
 | 
					    def filter_issues_for_tags(newer_tag, older_tag)
 | 
				
			||||||
      filtered_pull_requests = delete_by_time(@pull_requests, :actual_date, older_tag, newer_tag)
 | 
					      filtered_pull_requests = delete_by_time(@pull_requests, :merged_at, older_tag, newer_tag)
 | 
				
			||||||
      filtered_issues = delete_by_time(@issues, :actual_date, older_tag, newer_tag)
 | 
					      filtered_issues = delete_by_time(@issues, :actual_date, older_tag, newer_tag)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      newer_tag_name = newer_tag.nil? ? nil : newer_tag["name"]
 | 
					      newer_tag_name = newer_tag.nil? ? nil : newer_tag["name"]
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user