diff --git a/base/views.py b/base/views.py index 4d7f387..c2dca1a 100644 --- a/base/views.py +++ b/base/views.py @@ -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})