GetDKAN / dkan

DKAN Open Data Portal
https://dkan.readthedocs.io/en/latest/index.html
GNU General Public License v2.0
365 stars 170 forks source link

Count and delete resources on Harvest source deletion #1969

Closed dafeder closed 7 years ago

dafeder commented 7 years ago

The confirmation dialog when you delete a harvest source only references datasets. When a harvest source is created, resources and groups are also created. It would be clearer if

a) all content associated with the harvest source that will/won't be affected is listed in the dialog. b) when deleting all datasets belonging to a source, all resources are deleted as well

screen shot 2017-01-05 at 6 24 05 pm

Acceptance Criteria

  1. Confirmation dialog says:

    The following sources were selected to be deleted: Harvest Source Name: 18 Datasets, 29 Resources No groups generated during harvest will be affected by this action. They must be manually managed.

  2. Resources are deleted if datasets are deleted

dangur commented 7 years ago

Pull request https://github.com/NuCivic/dkan/pull/1988

ghost commented 7 years ago

The PR has been merged. Closing this.