codidact / qpixel

Q&A-based community knowledge-sharing software
https://codidact.com
GNU Affero General Public License v3.0
375 stars 70 forks source link

adds post count to 'see all' button on user profile #1346

Closed cellio closed 1 month ago

cellio commented 1 month ago

Addresses https://meta.codidact.com/posts/291590 (minimally). I couldn't find where in the code the threshold of 15 posts to show on the main profile is set, so I didn't add "showing N of M" 'cause I don't know how to get N and don't want to hard-code.

cellio commented 1 week ago

This worked in branch testing, but after deploying I now see "see all 15" instead of "see all (correct number)" for users with more than 15 posts. So there's still a bug here.