Dynamic Limit Value

Howdy

Trying to fetch the limit value for a section in a blueprint dynamically i.e. from a field but getting an error.

Would like to ask if this is of course not possible.

The intention is to display the same number of entries on the front-end as in the back-end.

This is what I did:

help: "{{ site.find('home/spandex').howmany.toInt }}"  ## Works Fine renders integer

limit: "{{ site.find('home/spandex').howmany.toInt }}" ## Renders error: Invalid value for "limit"

This is all inside a section in a blueprint (page) yaml file.

Thanks
-j

I don’t think query language is supported for limit. Which Kirby version have you tested?

Thx @texnixe. Kirby 3.5.7.1 & 3.6-Beta.1