Which seems to be nodebb's approach in general w.r.t. stuff like this
In general, yes. We try to not muck around with existing installs too much, but plugins are a little more fast and loose with things like this. Will keep it in mind 😄
Sort category topics by title in alphabetical (A-Z) or reverse-alphabetical (Z-A) order.
MIT or CC0 license
Hi, after install your plugin after i making re-index from admin dashboard it says me error: TypeError: Cannot read property 'split' of null
and some troubles with pagination for example I had 27 topics in category, but it scroll only to 17. thanks in advise
I'm also getting an error:
29/9 10:43:14  - error: TypeError: set.match is not a function
at Object.Categories.getTopicIds (/path/to/nodebb/node_modules/nodebb-plugin-category-sort-by-title/library.js:30:15)
at nextTask (/path/to/nodebb/node_modules/async/dist/async.js:5297:14)
at next (/path/to/nodebb/node_modules/async/dist/async.js:5304:9)
at replenish (/path/to/nodebb/node_modules/async/dist/async.js:941:25)
at iterateeCallback (/path/to/nodebb/node_modules/async/dist/async.js:931:17)
at next (/path/to/nodebb/node_modules/async/dist/async.js:5302:29)
I just wanted to ask if you're still working on or updating this plugin. I posted an issue on github a couple of months ago, concerning disappearing topics:
Alphabetical topic sorting would be super helpful for us, but unfortunately the plugin is unusable with this issue. It would be nice to know, if I can expect something happening here.
I just realized what the problem was. As soon as I hit "RE-INDEX TOPICS" in the settings, there weren't any disappearing topics anymore. So I guess the index wasn't complete.
How often is the index running automatically? Should I do this manually on a regular basis?
@AlexG Hey! Sorry, I missed your issue. I'm no longer actively maintaining any of my plugins, but feel free to poke me on GitHub any time.
As far as re-indexing, it does this exactly once. When the plugin is installed. Normally, there should not be a need to do it more than once, but if there was any error during re-indexing, or if a very early version was used, it could be required.
If new topics are now correctly sorted, then everything should be working fine. Otherwise, poke me again on github and I'll take a peek.