use title_plural in locationgroup overview
This commit is contained in:
parent
d296d25c4b
commit
e058115222
1 changed files with 1 additions and 1 deletions
|
@ -505,7 +505,7 @@ def list_objects(request, model=None, level=None, space=None, explicit_edit=Fals
|
||||||
LocationGroupCategory = request.changeset.wrap_model('LocationGroupCategory')
|
LocationGroupCategory = request.changeset.wrap_model('LocationGroupCategory')
|
||||||
grouped_objects = tuple(
|
grouped_objects = tuple(
|
||||||
{
|
{
|
||||||
'title': category.title,
|
'title': category.title_plural,
|
||||||
'objects': tuple(obj for obj in queryset if obj.category_id == category.pk)
|
'objects': tuple(obj for obj in queryset if obj.category_id == category.pk)
|
||||||
}
|
}
|
||||||
for category in LocationGroupCategory.objects.order_by('-priority')
|
for category in LocationGroupCategory.objects.order_by('-priority')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue