Django

Code

Ticket #8917 (closed: fixed)

Opened 3 months ago

Last modified 3 months ago

Comments should be reverse ordered by submit_date and submit_date should be in admin list_display

Reported by: wilson Assigned to: nobody
Milestone: Component: django.contrib.comments
Version: 1.0 Keywords:
Cc: Triage Stage: Accepted
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

Comments are currently ordered by submit_date (showing the earliest comments first) where they should be reverse ordered by submit_date (showing most recent comments first).

The submit_date field should also be visible in the admin list_display to indicate the ordering and to allow it to be reversed easily.

Attachments

comments-ordering.diff (1.3 kB) - added by wilson on 09/06/08 14:10:48.
Patch to reverse ordering of comments and add submit_date to admin list_display
8917.diff (0.7 kB) - added by arien on 09/06/08 18:28:21.
Reverse ordering of comments in the admin and add submit_date to admin list_display.

Change History

09/06/08 14:10:48 changed by wilson

  • attachment comments-ordering.diff added.

Patch to reverse ordering of comments and add submit_date to admin list_display

09/06/08 18:02:13 changed by wilson

  • needs_better_patch changed.
  • needs_tests changed.
  • needs_docs changed.

Actually, that patch has undesired effects, since changing ordering affects how comments are displayed outside the admin.

09/06/08 18:02:32 changed by anonymous

  • needs_better_patch set to 1.

09/06/08 18:28:21 changed by arien

  • attachment 8917.diff added.

Reverse ordering of comments in the admin and add submit_date to admin list_display.

09/06/08 18:30:13 changed by arien

  • needs_better_patch deleted.

09/08/08 12:38:35 changed by thejaswi_puthraya

  • stage changed from Unreviewed to Accepted.

09/15/08 19:27:13 changed by wilson

  • status changed from new to closed.
  • resolution set to fixed.

This was fixed in r9038.


Add/Change #8917 (Comments should be reverse ordered by submit_date and submit_date should be in admin list_display)




Change Properties
Action