Ticket #2779 (closed enhancement: fixed)

Opened 21 months ago

Last modified 21 months ago

add 'deleted' to deleted datasets that admins can view

Reported by: shevski Owned by: aron.carroll
Priority: awaiting triage Milestone: demo phase 3
Component: ckan Keywords: demo-theme
Cc: toby Repository: ckan
Theme: none

Description (last modified by shevski) (diff)

Currently, as a logged in admin, you can view deleted datasets just as if they are live datasets. Nothing distinguishes them apart from normal datasets other than they don't show up on the dataset page

This is potentially very confusing Can we add some kind of banner / label to deleted datasets to show they have been deleted?

& Do you guys need Sam to design this?

Related ticket for undeleting datasets - http://trac.ckan.org/ticket/2780

Change History

comment:1 Changed 21 months ago by shevski

Related ticket for undeleting datasets - http://trac.ckan.org/ticket/2780

comment:2 Changed 21 months ago by shevski

  • Description modified (diff)

comment:3 Changed 21 months ago by aron.carroll

Toby is there a flag on the dataset object that tells me if it has been deleted?

comment:4 Changed 21 months ago by toby

@aron,

pkg_dict.state

I think the options are

active - all good draft/draft-complete - partially created dataset deleted - deleted

comment:5 Changed 21 months ago by aron.carroll

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

Done in d17358f

Note: See TracTickets for help on using tickets.