Skip to content

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

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;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions