Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 0f9bfbd

Browse files
authored
Locations should be alphabetically ordered
Re: https://github.com/ixc/tarnanthi/issues/11
1 parent 1ed4623 commit 0f9bfbd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

icekit/plugins/location/models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ class Location(
144144

145145
class Meta:
146146
unique_together = (('slug', 'publishing_linked'), )
147+
ordering = ('title',)
147148

148149
def __str__(self):
149150
return self.title

0 commit comments

Comments
 (0)