google-code-export / django-forum

Automatically exported from code.google.com/p/django-forum
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Forum order_id field (feature request) #52

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I thought that it would be nice to have a field which would allow for the
admin to define a custom ordering.

Instead of ordering by name:
ABC
DEF
GHI

I want:

DEF
ABC
GHI

Original issue reported on code.google.com by macmicha...@gmail.com on 21 Jan 2009 at 2:52

GoogleCodeExporter commented 9 years ago
I can see the benefit to this - if you contribute a code patch I'll add it into 
SVN.

Original comment by rwpoul...@gmail.com on 30 Jan 2009 at 11:08

GoogleCodeExporter commented 9 years ago
Attached is the patch.

Postgres users:

BEGIN;
ALTER TABLE "forum_forum" ADD COLUMN "ordering" integer NULL;
COMMIT;

Original comment by macmicha...@gmail.com on 2 Feb 2009 at 9:56

Attachments:

GoogleCodeExporter commented 9 years ago
Added in SVN r52. Thanks!

Existing users will need to update their database as mentioned above (and in the
README file)

Original comment by rwpoul...@gmail.com on 27 Aug 2009 at 10:08