I've set up a print template for furniture labels.
I let my client print the labels with a special Link like
/label?ids="x|y|z"
It all works good. Now he sometimes wants to print the same label multiple times, so he and I tried the following:
/label?ids="x|x|x|y|z|z|z"
The underlying code is the following:
{% set ids = craft.request.param('ids')| split('|')|join(',') %}
{% set params =
{
section: 'furniture',
limit : null,
id: ids
}
%}
{% paginate craft.entries(params) as entries %}
{% for entry in entries %}
...
{% endfor %}
This will only display x and z one time.
Is there a way around this?
Any help appreciated.