Fix probe filter for tempmon readings grid
This commit is contained in:
parent
ff7b167d7e
commit
9ebce976c1
|
@ -62,7 +62,8 @@ class TempmonReadingView(MasterView):
|
||||||
g.sorters['client_host'] = g.make_sorter(tempmon.Client.hostname)
|
g.sorters['client_host'] = g.make_sorter(tempmon.Client.hostname)
|
||||||
g.filters['client_host'] = g.make_filter('client_host', tempmon.Client.hostname)
|
g.filters['client_host'] = g.make_filter('client_host', tempmon.Client.hostname)
|
||||||
|
|
||||||
g.joiners['probe'] = lambda q: q.join(tempmon.Probe)
|
g.joiners['probe'] = lambda q: q.join(tempmon.Probe,
|
||||||
|
tempmon.Probe.uuid == tempmon.Reading.probe_uuid)
|
||||||
g.sorters['probe'] = g.make_sorter(tempmon.Probe.description)
|
g.sorters['probe'] = g.make_sorter(tempmon.Probe.description)
|
||||||
g.filters['probe'] = g.make_filter('probe', tempmon.Probe.description)
|
g.filters['probe'] = g.make_filter('probe', tempmon.Probe.description)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue