Am 01.03.2017 um 18:28 schrieb Sönke Ludwig:

Am 01.03.2017 um 08:51 schrieb infinityplusb:

Any takers?

I believe the main change needs to be in the server.d code. Do I
need to alter anything from the diet.d file or diet-ng package ?
Are the other files I should be considering aswell, or is the parsing
of the filters contained within these?

Thanks.
B

The error message looks strange and from a first look I also couldn't
see where it went wrong. I hope I'll be able to have a deeper look
tomorrow or maybe the day after. There is still a time consuming bug on
my table, which is mainly why I couldn't give an answer yet.

Forgot to mention, server.d is the only place that is needed to change
this centrally. You can alternatively also define a @dietTraits struct
in your own code and pass it to render.