]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Make param pages without a sortkey sort to the end. r=dkl, a=lpsolit.
authorGervase Markham <gerv@gerv.net>
Tue, 25 Jan 2011 17:22:50 +0000 (17:22 +0000)
committerGervase Markham <gerv@mozilla.org>
Tue, 25 Jan 2011 17:22:50 +0000 (17:22 +0000)
https://bugzilla.mozilla.org/show_bug.cgi?id=621255

editparams.cgi

index a8dc0daf95ca74104891fa240f6862ae488322b6..6affd324cc3352e12cf7e826828667f7861c577e 100755 (executable)
@@ -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));
 }