Search - User list
Full Version: when a topic is visited (not get replied) the updated field is updated to the current datetime
Root » Bugs » when a topic is visited (not get replied) the updated field is updated to the current datetime
1
enoch
when a topic is visited (not get replied) the updated field is updated to the current datetime, and the topics is ordered by updated, so the topic will be shown on top, this should be changed to when a topic is replied the updated field is changed to current datetime.
enoch
my simple patch, there should be better patch I think
enoch
The problem comes with the signal thing. When a topic is visited, post.views = F('views') + 1, then post.save() will fire the trigger of topic_save() signal, and this will bring a huge performance problem when every topic is clicked. So a better patch should be considered.
slav0nic
Tnx, i will review this problem soon.
Maybe better move recount logic from signals to save()
breetlee6666
User is created via django-registration and there is no corresponding record created for djangoBB's profile.

Fails to view this user's profile page.

I suggest to add corresponding profile recording when it does not exists.
Offline
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB