Sort category topics by title in alphabetical (A-Z) or reverse-alphabetical (Z-A) order.
yariplus / nodebb-plugin-category-sort-by-title Goto Github PK
View Code? Open in Web Editor NEWSort category topics alphabetically.
Sort category topics alphabetically.
Hi there!
The plugin is not working anymore since I upgraded to the latest NodeBB version. It just doesn't show any topics anymore and re-indexing doesn't help. I remember from NodeBB forum that you're not supporting your plugins anymore. I just wanted to double-check, if there's any chance you might work on that.
Thanks!
Alex
Hi,
On version 1.14.x sorting doesn't work properly - e.g.:
Some of the topics reappear on different pages and these numbers seem pretty random. Re-index doesn't help either
28/9 18:54:10 [4542] - error: TypeError: set.match is not a function
at Object.Categories.getTopicIds (/home/nodebb/node_modules/nodebb-plugin-category-sort-by-title/library.js:30:15)
at /home/nodebb/src/categories/topics.js:18:16
at nextTask (/home/nodebb/node_modules/async/dist/async.js:5297:14)
at next (/home/nodebb/node_modules/async/dist/async.js:5304:9)
at /home/nodebb/node_modules/async/dist/async.js:906:16
at /home/nodebb/node_modules/async/dist/async.js:421:16
at /home/nodebb/node_modules/async/dist/async.js:2494:9
at /home/nodebb/node_modules/async/dist/async.js:421:16
at replenish (/home/nodebb/node_modules/async/dist/async.js:941:25)
at iterateeCallback (/home/nodebb/node_modules/async/dist/async.js:931:17)
at /home/nodebb/node_modules/async/dist/async.js:906:16
at /home/nodebb/node_modules/async/dist/async.js:2491:13
at /home/nodebb/node_modules/nodebb-plugin-category-sort-by-title/library.js:168:5
at /home/nodebb/node_modules/async/dist/async.js:421:16
at next (/home/nodebb/node_modules/async/dist/async.js:5302:29)
at /home/nodebb/node_modules/async/dist/async.js:906:16
at /home/nodebb/src/user/settings.js:123:5
at nextTask (/home/nodebb/node_modules/async/dist/async.js:5297:14)
at next (/home/nodebb/node_modules/async/dist/async.js:5304:9)
at /home/nodebb/node_modules/async/dist/async.js:906:16
at /home/nodebb/node_modules/async/dist/async.js:421:16
at /home/nodebb/node_modules/async/dist/async.js:2494:9
There is an issue with disappearing topics with the plugin category-sort-by-tile. When sort by A-Z or Z-A is activated there are some topics that are not displayed anymore. They reappear if sort by is changed to one of the standard options.
It's always the same topics that are disappearing and reappearing. But I couldn't really figure out anything special about these topics or what they have in common.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.