init
This commit is contained in:
parent
c62b8a30f0
commit
d61d64ff0a
|
@ -81,7 +81,7 @@ def probe_details(request):
|
|||
id = request.GET.get('id')
|
||||
type = request.GET.get('type')
|
||||
probe = Probe.objects.get(id=id)
|
||||
probe_data = ProbeData.objects.filter(probe_code=probe.code).order_by('-recorded')[:50]
|
||||
probe_data = ProbeData.objects.filter(probe_code=probe.code).order_by('-recorded')[:10]
|
||||
return render(request, 'base/probe_details.html', \
|
||||
{'probe': probe, 'test_land': part_land('land'), 'g214_land': part_land('road'), 'type': type,
|
||||
'probe_data': probe_data})
|
||||
|
|
Loading…
Reference in New Issue