mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-03 20:57:50 +02:00
HOTFIX: fix duplicated results introduced in #1a8f2aa
This commit is contained in:
@@ -264,11 +264,12 @@ class GetManufacturerItem(View):
|
||||
else:
|
||||
roster = (
|
||||
RollingStock.objects.get_published(request.user)
|
||||
.order_by(*get_order_by_field())
|
||||
.filter(
|
||||
Q(manufacturer=manufacturer)
|
||||
| Q(rolling_class__manufacturer=manufacturer)
|
||||
)
|
||||
.distinct()
|
||||
.order_by(*get_order_by_field())
|
||||
)
|
||||
title = "Manufacturer: {0}".format(manufacturer)
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
from ram.utils import git_suffix
|
||||
|
||||
__version__ = "0.16.6"
|
||||
__version__ = "0.16.7"
|
||||
__version__ += git_suffix(__file__)
|
||||
|
Reference in New Issue
Block a user