Thanks for the info.
I’m happy doing whatever way is easiest to just get the topics back that match the custom field value. I have a working route/path/template in place at /fun_levels/:fun_level, which loads the {{topic-list}} component. Again, if that way is doing a search for that custom field value (ajax(/search)), then that works too. I’m increasingly thinking that is the most straightforward way. I just haven’t gotten that to work yet.
And to clarify, my current method is to
- get back topics by ajax (just need to figure out what the right endpoint is/how to set that endpoint up–that’s the key),
- parse the result, and
- do
component.set('showTopics', parsed-result)
, to load the topics into{{topic-list topics=showTopics}}.
This way seems a bit mysterious to me. I see the methods in the list_controller, such as def topics_by
, but how would I take one of those methods, and alter it to return topics based on a custom field value?