From: Gervase Markham Date: Tue, 25 Jan 2011 17:22:50 +0000 (+0000) Subject: Make param pages without a sortkey sort to the end. r=dkl, a=lpsolit. X-Git-Tag: bugzilla-4.1.1~76 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00e1708f9a9162ebb02aaa5a19eb6dcfc8726df8;p=thirdparty%2Fbugzilla.git Make param pages without a sortkey sort to the end. r=dkl, a=lpsolit. https://bugzilla.mozilla.org/show_bug.cgi?id=621255 --- diff --git a/editparams.cgi b/editparams.cgi index a8dc0daf95..6affd324cc 100755 --- a/editparams.cgi +++ b/editparams.cgi @@ -67,6 +67,7 @@ foreach my $panel (keys %$param_panels) { param_list => \@module_param_list, sortkey => eval "\$${module}::sortkey;" }; + defined($item->{'sortkey'}) || ($item->{'sortkey'} = 100000); push(@panels, $item); $current_module = $panel if ($current_panel eq lc($panel)); }