You can fix the counts by running the following query in mongodb for each group that has the wrong member count.
// get number of users db.objects.count({_key: "group:<replace_with_group_name>:members"}); // update group object db.objects.update({_key: "group:<replace_with_group_name>"}, {$set: {"memberCount": <replace_with_value_from_previous_query>}});TAGS: use of special character (like "%") and numbers
-
@ylothar said in TAGS: use of special character (like "%") and numbers:
if the tag starts with a number it is not suggested
Can you provide reproduction steps for this? Seems to work when I test it on a new topic.
-
-
Ahh it might be because there are no topics tagged with 123, does it work if you create a topic with 123 and try to use it again?
-
@baris you're right, that's it!
What about the problem with special characters instead?
-
Right now
%
isn't handled properly so it breaks thetag/<tagname>
urls that's why it is not allowed. It would require some changes in core and the themes to properly handle that symbol. -
Do you think it could be put on the to-do list?
-
There you go
https://github.com/NodeBB/NodeBB/issues/10135 -
-
This is implemented on master now.
-
-
Upgraded today to v. 1.19.0 and it works like a charm, renamed all numeric tags with "%" and good to gooooooo