Is there some sort of rule about naming include templates starting with a numeral?
Pretty sure you can't on the free version
- Versioned::get_by_stage('TourItinerary', 'Live')->filter(['TourID' => $this->ID]);
I seem to recall some Stage() method but can't find it
I have a versioned dataobject called Tour attached to another dataobject in a $has_many relationship called Itineraries. In a function in the Tour object, I am getting all Itineraries:
Works fine, however it ignores the publish state and just returns all objects. Is there a way to return only published objects?
Except maybe cache by session?
If everyone here can see it, it shouldn't be anything server side
Yeah a lot of sites had the same issue. It's a common slug. They changed it pretty quickly. Small oversight.