Declare sort order for Appliance.probes
relationship
This commit is contained in:
parent
1b03841c7f
commit
4eebd454d5
|
@ -2,7 +2,7 @@
|
|||
################################################################################
|
||||
#
|
||||
# Rattail -- Retail Software Framework
|
||||
# Copyright © 2010-2018 Lance Edgar
|
||||
# Copyright © 2010-2020 Lance Edgar
|
||||
#
|
||||
# This file is part of Rattail.
|
||||
#
|
||||
|
@ -178,6 +178,7 @@ class Probe(Base):
|
|||
""",
|
||||
backref=orm.backref(
|
||||
'probes',
|
||||
order_by='Probe.description',
|
||||
doc="""
|
||||
List of probes which monitor this appliance.
|
||||
"""))
|
||||
|
|
Loading…
Reference in a new issue