Skip to content

Delete/Purge buttons missing on CollectionContainer in MODX 3.2.0 #393

@eremozin

Description

@eremozin

Environment

  • MODX 3.2.0-pl
  • Collections 4.1.1-pl

Problem

After upgrading to MODX 3.2.0, the Delete, Undelete, and Purge buttons are missing from the toolbar on CollectionContainer resources.

Fix that worked for us

In assets/components/collections/js/mgr/sections/category/update.js (and the Selection equivalent):

// changed from:
config.canDelete = true;
 
// to:
config.canDelete = 1;
config.canPurge = 1;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions