Skip to content
Snippets Groups Projects
Commit 7213cdba authored by Mark Hall's avatar Mark Hall
Browse files

Fix authors being lost on integrate / delete

parent 61669d0d
Branches
Tags
No related merge requests found
......@@ -8,6 +8,7 @@
* **New**: Added a help viewer
* **Update**: Various small UX Updates
* **Bugfix**: Fix the date display for the tasks
* **Bugfix**: Fix missing authors on delete / integrate
## 0.11.0 (05.10.2020)
......
......@@ -92,6 +92,7 @@ class Branch(Base):
data['attributes']['authors'].add(commit.author.name)
data['attributes']['authors'] = list(data['attributes']['authors'])
data['attributes']['authors'].sort()
self.attributes['authors'] = data['attributes']['authors']
if len(list(repo.iter_commits(f'branch-{self.id}..{get_config_setting(request, "git.default_branch")}'))) > 0:
data['attributes']['updates'] = True
if last_commit:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment