Code

Opened 6 years ago

Closed 6 years ago

#8917 closed (fixed)

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

Reported by: wilson Owned by: nobody
Component: contrib.comments Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

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 (2)

comments-ordering.diff (1.3 KB) - added by wilson 6 years ago.
Patch to reverse ordering of comments and add submit_date to admin list_display
8917.diff (758 bytes) - added by arien 6 years ago.
Reverse ordering of comments in the admin and add submit_date to admin list_display.

Download all attachments as: .zip

Change History (7)

Changed 6 years ago by wilson

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

comment:1 Changed 6 years ago by wilson

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

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

comment:2 Changed 6 years ago by anonymous

  • Patch needs improvement set

Changed 6 years ago by arien

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

comment:3 Changed 6 years ago by arien

  • Patch needs improvement unset

comment:4 Changed 6 years ago by thejaswi_puthraya

  • Triage Stage changed from Unreviewed to Accepted

comment:5 Changed 6 years ago by wilson

  • Resolution set to fixed
  • Status changed from new to closed

This was fixed in r9038.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.