@julian You know, I didnt even think of that. Yes, changing emails, and I will check that out (will feel stupid now lol)
[Solved] Categories don't arrange correctly
-
After a recent update my categories were all jumbled up. I went and corrected them in the Admin CP but whenever i click save the changes do not take effect and they reset once i refresh.
I am using Vanilla theme, it also does it with SeaWolf. -
To add to this we're on yesterdays commits.
-
Seems like its been reported here as well - https://github.com/designcreateplay/NodeBB/issues/1136
-
I have tried saving each category but that does nothing either. There was a "save all" button before if i remember correctly but it does not appear any more.
-
The save button on each category is just a copy of the save all button. Clicking it will save all the changes. Do you get an alert saying categories were saved when you click save? Also can you check the database to see if the categories have the orders set?
-
I get an alert saying they were saved. I will check the database as soon as possible.
-
{ "_id" : ObjectId("52cfff6020a5a944ca386677"), "_key" : "category:2", "bgColor" : "#1e1e20", "cid" : 2, "class" : "col-md-3 col-xs-6", "color" : "#fcfcfc", "description" : "A place to talk about whatever you want", "disabled" : 0, "icon" : "fa-comment", "link" : "", "name" : "General BitBanging", "numRecentReplies" : "0", "order" : "10", "slug" : "2/general-bitbanging", "topic_count" : 6 }
This is from the database, every
category:
has a number next to it. -
Yeah looks like mongodb is sorting the scores as strings thats why the order is messed up. Will look into it.
-
Try with https://github.com/designcreateplay/NodeBB/commit/d34e68ca25bb948bdf528eda1adbaf8b7d01e4ad. Just arrange the categories again and hit save.
-
@baris That worked!
Thanks, pretty quick bug fix