The number of nodes shown on the content admin page (admin/content) is still hardcoded to the value "50" in node.admin.inc:

$nids = $query
    ->fields('n',array('nid'))
    ->limit(50)
    ->orderByHeader($header)
    ->addTag('node_access')
    ->execute()
    ->fetchCol();

This is especially bothersome when trying to delete lots of content (e.g. after importing test data).
See #7743: let admins mass delete nodes for this feature request since ancient times.

I once wrote a small core hack to make this setting configurable: "Increase the number of nodes per page when administering content".

It would be great if this would become a core feature some day.

Comments

marcingy’s picture

Version: 7.19 » 8.x-dev
Issue tags: +Needs backport to D7

Features go into D8 first but this should be able to be backported given its nature. I suppose the question is do we expose the ability to change via the UI or do we simply make it a setting that is in effect controlled by $conf in settings.

frank ralf’s picture

Thanks for the quick reply.

I would opt for a UI setting as with similar settings, e.g. number of nodes indexed for searching during a cron run.

swentel’s picture

Is this still relevant now that we have views in core ?

swentel’s picture

Issue summary: View changes

Corrected typo.

xjm’s picture

Component: node.module » node system
Issue summary: View changes

(Merging "node system" and "node.module" components for 8.x; disregard.)

xjm’s picture

Version: 8.x-dev » 7.x-dev
Issue tags: -Needs backport to D7

No longer relevant for D8.

Status: Active » Closed (outdated)

Automatically closed because Drupal 7 security and bugfix support has ended as of 5 January 2025. If the issue verifiably applies to later versions, please reopen with details and update the version.