In our company we use discourse for everyday business.
Discourse is deeply integrated in our erp software.
For better organization of topics,our erp holds many kind of topics ids and posts ids.
In some parts of our app we want to show user list of specific topics in discource. (filtered by our citiera).
In our app there is form which users fills and our app has array of filtered topics.
Is there a way to send query string or formdata to discource endpoint among with array of wanted topics ids and to get list of topics in discource. (ideally with predefined order or ordered as array was)
Same needs we have for getting specific lists of posts by providing array of topics ids.
const selectedTopics = this.selectedTopics
//eat topics as ids and let out real topics
this.selectedTopicsID.forEach(function(tid,index){
Topic.find(tid,{}).then(results => {
selectedTopics.pushObject(results)
})
});
곧 플러그인의 listcontroller를 다시 열어 새로운 엔드포인트를 추가하고, 프론트엔드 초기화 파일에서 topic-list를 다시 열어 아래 링크와 비슷한 작업을 하려고 합니다: