Skip to content

Commit

Permalink
Merge pull request #1150 from Amsterdam-Music-Lab/bugfix-er/group-ref…
Browse files Browse the repository at this point in the history
…erence

change group to phase
  • Loading branch information
Evert-R authored Jun 25, 2024
2 parents 92a5e65 + 6825823 commit 47975e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/experiment/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class GroupedExperiment(models.Model):
order = models.IntegerField(default=0, help_text='Order of the experiment in the group. Lower numbers come first.')

def __str__(self):
return f'{self.experiment.name} - {self.group.name} - {self.order}'
return f'{self.experiment.name} - {self.phase.name} - {self.order}'

class Meta:
ordering = ['order']
Expand Down

0 comments on commit 47975e7

Please sign in to comment.