My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 58: Un-sticky-ing a thread breaks ordering
2 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  rwpoul...@gmail.com
Closed:  May 2009


 
Reported by whiteinge, Apr 2, 2009
By default the sticky field is None. When you un-sticky a thread it gets
set to False and messes up the ordering.

A fix is to remove the null=True from the field, or to add default=False.
May 2, 2009
Project Member #1 rwpoul...@gmail.com
In r42, I have changed the sticky field to default to 'False', and reversed the
ordering so that 'sticky=False' items show up first.

To update current data:

UPDATE forums_forum SET sticky='f' WHERE sticky='';

Thanks, whiteinge.
Status: Fixed
Owner: rwpoulton

Powered by Google Project Hosting