It is now working with 5.0.3
Thanks a lot.
Change topics sorting in recent cards plugin
Hi. Please help me, how can I change sorting of topics in your plugin https://github.com/NodeBB-Community/nodebb-plugin-recent-cards from lastposttime to time of create of topic(timestampISO) or just from max value of tid to lower. Thanks in advise.
If there isn't a setting for it in the plug-in's ACP page, then there isn't a way to do this.
Edit: wait, what are you actually asking? To sit the topics by the time the topic was submitted, not the time of the last reply?
@pitaj yes, thanks for fast responce, exactly sit the topics by the time the topic was submitted.
Edit: topics.getTopicsFromSet('topics:recent', uid, 0, 19, renderCards); can you add var set; something like 'topics:new' or 'topics:last' or help me how can I do it?( for standalone plugin I know how to do this, but I failed to modificate this plugin. thanks in advise.
Edit2: or maybe something like this topics.getLatestTidsFromSet('cid:1:tids', 0, -1, 'alltime', renderCards);