php - How to filter BoltCM setcontent by releated ContentTypes? -


now can do: {% setcontent books = 'books' {price: '<30.00'} %}

but how can fetch books filtered author in scenario books , authors 2 contenttypes , authors relation books (instead of having authors id foreign on books)?

something pseudo: {% setcontent books = 'books' {related: {authors: author}} %} (author current record on template). or taxonomies: https://docs.bolt.cm/content-fetching#using-taxonomies

instead of querying 'books' , somehow filtering on having realtion, should other way around: know 'author', , can use related records, using {{ author.related() }}.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -