diff --git a/templates/personexpedition.html b/templates/personexpedition.html index bfb81ee..ec7d3bc 100644 --- a/templates/personexpedition.html +++ b/templates/personexpedition.html @@ -66,11 +66,11 @@ If anyone really cares, they can always look in the original survex file
-

Horrible bug here but only when there is more than one survex block per day, or is there ?! +

Horrible convoluted bug here, but only for some survex files. Mostly, a survex block is duplicated. But not always. -

WHat we thought was the bug: -e.g. see Wookey 1999 where there are 3 eiscream survex blocks on 5th August. -it duplicates the entry but gets it wrong. The length from the first block is displayed twice but there should be 3 rows: eiscream, eiscream2, eiscream3. +

+e.g. see Wookey 1999 where there are one eiscream survex block on 5th August in eiscream.svx +
It duplicates it. Also on 4th Aug. there is only one block, but it gets shown twice.

The interaction of django database query idioms with django HTML templating language is a bit impenetrable here. I blame Aaron Curtis who was too fond of being clever with the Django templating system @@ -82,8 +82,5 @@ instead or writing it in python anyone could understand.

- the connection between the two is made in the URL resolver in troggle/urls.py

To be fixed! -

What we now know

-

The eiscream.svx file does indeed record 3 blocks: eiscream, eiscream2 & eiscream3. But (more) careful inspection shows that eiscream2 and eiscream3 are in -the year 2000, not in 1999. So they absolutely should not be shown here. So maybe everything is correct after all. (Well, apart from the duplication.)

{% endblock %}