Changeset 853 for trunk/lib


Ignore:
Timestamp:
Sep 11, 2006, 6:26:57 PM (15 years ago)
Author:
Dominic Hargreaves
Message:

Temporary fix to make admin page not blow up on large guides: only list 100 most recently modified nodes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/OpenGuides.pm

    r852 r853  
    14251425    my $script_name = $self->config->script_name;
    14261426
    1427     # Grab all the nodes
    1428     my @all_nodes = $wiki->list_all_nodes(with_details=>1);
    1429     @all_nodes = sort { $a->{'name'} cmp $b->{'name'} } @all_nodes;
    1430 
     1427    # Grab all the recent nodes
     1428    my @all_nodes = $wiki->list_recent_changes(last_n_changes => 100);
    14311429
    14321430    # Split into nodes, Locales and Categories
Note: See TracChangeset for help on using the changeset viewer.