craftcms / cms

Build bespoke content experiences with Craft.
https://craftcms.com
Other
3.28k stars 635 forks source link

[4.x]: Changing section from "channel" to "structure" doesn't work 100% #11786

Closed vandres closed 2 years ago

vandres commented 2 years ago

What happened?

Description

I am having a section, which was planned as channel. It then was required to make it sortable manually, so I changed it to a structure. Unfortunately, the "cross" icon is not showing up and I cannot resort the entries.

Am I missing something here?

image

image

image

Steps to reproduce

  1. Create a new section of type channel
  2. Create some entries
  3. Change the type to structure

Expected behavior

Entries are sortable.

Actual behavior

Entries still behave like channels

Craft CMS version

4.2.1.1

PHP version

8.1

Operating system and version

MacOS, Debian Docker

Database type and version

MariaDB 10.5

Image driver and version

-

Installed plugins and versions

  "require": {
    "craftcms/cms": "^4.2.0.2",
    "craftcms/commerce": "^4.1",
    "craftcms/redactor": "^3.0",
    "firephp/firephp-core": "^0.5.3",
    "mmikkel/cp-field-inspect": "^1.4",
    "nystudio107/craft-vite": "^4.0",
    "php-http/curl-client": "^2.2",
    "spicyweb/craft-neo": "^3.2",
    "typesense/typesense-php": "^4.8",
    "vaersaagod/geomate": "^2.0",
    "verbb/expanded-singles": "^2.0",
    "verbb/field-manager": "^3.0",
    "verbb/tablemaker": "^4.0",
    "verbb/wishlist": "^2.0",
    "vlucas/phpdotenv": "^5.4.0"
  },
  "require-dev": {
    "roave/security-advisories": "dev-master",
    "deployer/deployer": "^7.0",
    "yiisoft/yii2-shell": "^2.0.3"
  },
thupsi commented 2 years ago

Try changing the sorting option on the top right from "title" to "structure".

vandres commented 2 years ago

Oh boy, thanks a lot!