summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGervase Markham <gerv@gerv.net>2011-01-25 18:22:50 +0100
committerGervase Markham <gerv@mozilla.org>2011-01-25 18:22:50 +0100
commit00e1708f9a9162ebb02aaa5a19eb6dcfc8726df8 (patch)
tree9d5c86bd600a2d00c6e89291c6b7deac16bb4f5e
parent95b919c0b6b731d16e92dd748e654cefeba0bd32 (diff)
downloadbugzilla-00e1708f9a9162ebb02aaa5a19eb6dcfc8726df8.tar.gz
bugzilla-00e1708f9a9162ebb02aaa5a19eb6dcfc8726df8.tar.xz
Make param pages without a sortkey sort to the end. r=dkl, a=lpsolit.
https://bugzilla.mozilla.org/show_bug.cgi?id=621255
-rwxr-xr-xeditparams.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/editparams.cgi b/editparams.cgi
index a8dc0daf9..6affd324c 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));
}