Hi,

As far as I can tell, when you go to the create content page ("node/add"), the list of node types is sorted alphabetically using the node type. It would be more intuitive and user-friendly to have it sorted by the node type 'name' attribute. For example if you have a node type 'dummy_test_node' with the name set to 'Test node' (see function set-up below), then the list uses the 'dummy_test_node' field rather than 'Test node' when displaying the node types alphabetically. I think the 'name' attribute should be used instead.

function dummy_test_node_info() {
  return array('dummy_test_node' => array(
      'name' => t('Test node'),
      'module' => 'dummy_test',
      'description' => t("Test"),
    )
  );
}

Cheers,
Stella

Comments

marcingy’s picture

Version: 5.x-dev » 8.x-dev

Bumping version

anandkp’s picture

Assigned: Unassigned » anandkp
Issue summary: View changes
mgifford’s picture

Version: 8.0.x-dev » 8.1.x-dev
Assigned: anandkp » Unassigned
Status: Active » Postponed

I'm not sure where to change this, but it's looking like it's 8.1.x territory.

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.0-beta1 was released on March 2, 2016, which means new developments and disruptive changes should now be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.0-beta1 was released on August 3, 2016, which means new developments and disruptive changes should now be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.0-alpha1 will be released the week of January 30, 2017, which means new developments and disruptive changes should now be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.0-alpha1 will be released the week of July 31, 2017, which means new developments and disruptive changes should now be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.0-alpha1 will be released the week of January 17, 2018, which means new developments and disruptive changes should now be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

cilefen’s picture