Hello.
I am struggling to resolve an issue with a Razor template, and since I haven´t really worked with Razor I'm not sure whether I am missing something simple. Hopefully you will be able to spot something on the examples and let me know what I am doing wrong.
So, I have a custom module that sends tags relating to search results in a particular hierarchy and we have a razor template to show those results. In that page there are extras, but are being sent several times over, but only in the Razor template. In attach are two pages that we used as debbuging aids, one which uses the classical HTML/tag combination, and one that uses a Razor template (there are also two files that contain the output of each one). They have both been reduced to the minimum required to check just what is happening with the loops.
The classical way has the correct way the output should be. The Razor one is mostly right, but includes additional loop items in a few entries. I suspect that the Razor file is not quite right (i.e. although it looks to me like it is the equivalent of the classical one, a key piece is missing). Could someone have a look and let me know if they spot anything?
Thanks.
Marco