#32212select.pidInList = 0 won't select records with pid = 0
Description
Following Typoscript:
10 = CONTENT
10 {
table = static_countries
select {
pidInList = 0
orderBy = cn_short_en
}
renderObj {
field = cn_short_en
}
}
It won’t get any records because of this code (pidInList will be unset):
if (!$conf[$property]) {
unset($conf[$property]);
}
Maybe we can change it to:
if (!$conf[$property] && $conf[$property] != 0) {
unset($conf[$property]);
}
Don’t know if this is the right solution or has any side effects though.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.