Hello,
I have a custom field called team and I am feeding a pages command a comma seperated list of teamnames and it's mostly working as expected, except it does not work for teams with an ampersand in them (they just get ignored, other team pages are still returned.
This is the actual pages tag I am using and it is working except it does not return team pages where the teamname has an ampersand in them:
I tried to debug it by using one of the teams by name, so team=='Conferencing & Support' --> does not work. There are several existing pages where the team field does have this exact entry.
I also tried escaping like team=='Conferencing \& Support' but that doesn't work either. Any ideas?
I have a custom field called team and I am feeding a pages command a comma seperated list of teamnames and it's mostly working as expected, except it does not work for teams with an ampersand in them (they just get ignored, other team pages are still returned.
This is the actual pages tag I am using and it is working except it does not return team pages where the teamname has an ampersand in them:
- Code: Select all
<cms:pages masterpage='formular.php' custom_field="erl!=='ok' | team==<cms:show teamliste /> | internesdatum > <cms:show cutoffdate />" limit='100000' >
I tried to debug it by using one of the teams by name, so team=='Conferencing & Support' --> does not work. There are several existing pages where the team field does have this exact entry.
I also tried escaping like team=='Conferencing \& Support' but that doesn't work either. Any ideas?