Declare sort order for Appliance.probes relationship

This commit is contained in:
Lance Edgar 2020-04-04 19:30:37 -05:00
parent 1b03841c7f
commit 4eebd454d5

View file

@ -2,7 +2,7 @@
################################################################################ ################################################################################
# #
# Rattail -- Retail Software Framework # Rattail -- Retail Software Framework
# Copyright © 2010-2018 Lance Edgar # Copyright © 2010-2020 Lance Edgar
# #
# This file is part of Rattail. # This file is part of Rattail.
# #
@ -178,6 +178,7 @@ class Probe(Base):
""", """,
backref=orm.backref( backref=orm.backref(
'probes', 'probes',
order_by='Probe.description',
doc=""" doc="""
List of probes which monitor this appliance. List of probes which monitor this appliance.
""")) """))