[nodebb-plugin-category-sort-by-title] Alphabetical topic sorting.
-
NodeBB Plugin Category Sort-by-Title
Sort category topics by title in alphabetical (A-Z) or reverse-alphabetical (Z-A) order.
MIT or CC0 license
https://github.com/yariplus/nodebb-plugin-category-sort-by-title
-
NodeBB v1.3.0 required for Z-A sorting.
-
Updated to NodeBB 1.4.0
-
Hello @yariplus,
When I used this plugin It wouldn't let me go to my categories, it would just load until. I had to disabled the plugin to fix this issue. maybe a conflict-ion with another plugin?
Thanks
Steven
-
@Steven-Rafferty It should be fixed now, are you on version 1.2.0 of the plugin?
-
Update v1.2.1
- Fixed a small bug when using nodejs 5 or higher.
-
Update v1.3.0
- Now compatible with NodeBB 1.5
-
Hi @yariplus ,
I've just installedyour plugin but it doesn't seem to be doing anything... I can see the 'A-Z' and 'Z-A' under 'Sort By', but it doesn't change the order of the categories or topics.
I'm running NodeBB v1.5.1.
Thanks
-
@silvia Thanks, it seems to be working for me.
Could you open the plugins' admin page and click on the Reindex Topics button, then check the NodeBB log for errors?
Also, results of
git rev-parse HEAD
Thank you.
-
Hi, after install your plugin after i making re-index from admin dashboard it says me error: TypeError: Cannot read property 'split' of null
at /home/user/nodebb/node_modules/nodebb-plugin-category-sort-by-title/library.js:141:72
and some troubles with pagination for example I had 27 topics in category, but it scroll only to 17. thanks in advise
-
@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.
-
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
-
@dangeruss
v1.4.0 published, fixes nbb 1.6.x compatibility.
-
Updated to latest NodeBB.
Fixed error when editing posts.