Hi,
First, this is production realestate site, big one. So please, if any chanse to fix this without touching database, it would be great
I have field "pstatus" as a PageReference,
In the tree under Status as children:
sold
unavailable
paused
In the template "property" I have dropdown were I choose: empty (nothing); sold; unavailable or paused. If you do not choose anything, property will have active selling status. I need help sorting property template in this order: show all empty and than show all sold.
1031 is Status, parent of the sold unavailable and paused.
$status = $pages->get('1031')->children('sort=pstatus');
$selector[] = "sort=price, pstatus!=$status";
But I got there all except from status. I need to list "sold" too.