Wow! So turns out it was a silly error on my part. I had tried the Error object previously, but it was while looking at a different part of the code... I was actually looking/changing the 'imagekit' case in the code and being stumped as to why I was still seeing the behavior as I explained. Anyhow, it is working as it should when passing in an Error object. Thanks for the extra insight!
is there a way to get topics sorted by view count?
I'm using this function
and there is a param "sort" that can sort reulsts by 'recent', 'old', 'posts', and 'votes'. But I was wondering , is there a way to get the resulsts sorted by view count?
This will be available in 1.18.4 https://github.com/NodeBB/NodeBB/issues/9845