Ticket #332 (closed defect: fixed)

Opened 4 months ago

Last modified 3 months ago

Monolith's "Manage %s" doesn't show draft pages or entries

Reported by: lildude Owned by:
Priority: minor Milestone: 0.5
Component: Habari Core Software Version: SVN
Keywords: monolith admin manage draft Cc:

Description

Monolith's "Manage %s" doesn't show draft pages or entries - only published entries.

One possible "solution" is to append "&status=all" to the URL::get() in system/classes/adminhandler.php. (Patch attached).

Warning, I've not tested this with a lot of posts, so I don't know how well this will scale, but it works with a few entries.

Attachments

adminhandler.php.r1701.diff (1.2 kB) - added by lildude 4 months ago.

Change History

Changed 4 months ago by lildude

Changed 4 months ago by bjohnson

This patch will work, but we would like to do something more general where returned entry type is determined by the search field, so that you can do type:draft, for example. I am working on implementing this.

Changed 4 months ago by dmondark

This is also applicable on managing comments. The only access to the unapproved comments is with the dashboard link and there is no link to show spam comments (?search_status=2). Implementing the search search field is good and handy, but I'd suggest an even more friendly way, e.g. have 3 checkbox (approved, unapproved, and spam for comments, and published and draft for entries) somewhere within the header container of the "manage" layout?

Changed 3 months ago by bjohnson

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

Fixed along with the addition of keyword search in r1720

Note: See TracTickets for help on using tickets.