[nodebb-plugin-category-sort-by-title] Alphabetical topic sorting.


  • Community Rep

    @dread What version of NodeBB are you on?

    The plugin is outdated. I can push out an update tomorrow.



  • Fine.cool) I am on v1.5.4.


  • Community Rep

    I think you mean 1.6, there is no 1.5.4. Anyway, I'll get it fixed asap.



  • Sorry) it was my own strange bug) somehow I was create topic with null slug and plugin can't reindex topics. Anyway thanks for fast responce!



  • I'm also getting an error:

    29/9 10:43:14 [5703] - 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 /path/to/nodebb/src/categories/topics.js:18:16
    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 /path/to/nodebb/node_modules/async/dist/async.js:906:16
    at /path/to/nodebb/node_modules/async/dist/async.js:421:16
    at /path/to/nodebb/node_modules/async/dist/async.js:2494:9
    at /path/to/nodebb/node_modules/async/dist/async.js:421:16
    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 /path/to/nodebb/node_modules/async/dist/async.js:906:16
    at /path/to/nodebb/node_modules/async/dist/async.js:2491:13
    at /path/to/nodebb/node_modules/nodebb-plugin-category-sort-by-title/library.js:168:5
    at /path/to/nodebb/node_modules/async/dist/async.js:421:16
    at next (/path/to/nodebb/node_modules/async/dist/async.js:5302:29)
    at /path/to/nodebb/node_modules/async/dist/async.js:906:16


  • Community Rep

    @dangeruss
    v1.4.0 published, fixes nbb 1.6.x compatibility.


  • Community Rep

    Updated to latest NodeBB.

    Fixed error when editing posts.



  • @yariplus

    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:

    https://github.com/yariplus/nodebb-plugin-category-sort-by-title/issues/2

    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.

    Thanks!



  • @yariplus

    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?


  • Community Rep

    @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.

    Thanks!



  • @yariplus No worries and thanks for your reply now. It seems to be working fine now after re-indexing. Thanks!


Log in to reply
 

Suggested Topics

| |