Sort by what is used to be on the sheet

This commit is contained in:
Damillora 2020-12-17 14:20:48 +07:00
parent 6577d008b9
commit 6b9b0d1458
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ class Song(models.Model):
impression = models.TextField(blank=True)
class Meta:
ordering = [ 'romanized_title','title' ]
ordering = [ 'composer__romanized_name','arranger__romanized_name','-branch__acronym','romanized_title','title' ]
def __str__(self):
return "["+self.branch.acronym+"] "+self.title