Opened 7 years ago
Closed 7 years ago
#3016 closed defect (bug) (fixed)
1970 time for page drafts
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.1 |
| Component: | Administration | Version: | 2.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
Page drafts show a 1970 last-updated date on the manage pages screen. It should say "draft" or "never" and visually distinguish the page.
http://txfx.net/files/screenshots/screenshot-2006-08-09_102616.png
Attachments (1)
Change History (7)
When did we start showing drafts in the manage posts list anyway? They used to show only in the "Your drafts" field at the top, didn't they?
comment:3
masquerade — 7 years ago
Posts still only show in the Your Drafts at the top, its Page Drafts that have the time issue. When the DB was changed to allow for them we didn't make the necessary changes to the page display code for it.
comment:4
markjaquith — 7 years ago
Eh, I don't mind them being there. If the page parent is set, they'll show up in the proper hierarchy. We just need to indicate that it is a draft and remove the date display.
- Keywords has-patch added
Added a patch which hides the last modified field if the page is still in draft.

In query.php, when previewing drafts we set the timestamp to the current time. Maybe we can do something similar here.