From: Sunil Joshi Date: Fri, 12 Oct 2012 21:04:25 +0000 (+0200) Subject: Bug 791554: Make clear that 0 is a valid sortkey for flagtypes X-Git-Tag: bugzilla-4.5.1~358 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bfb66f198ca3e0dddcccaefc3d729f348a254056;p=thirdparty%2Fbugzilla.git Bug 791554: Make clear that 0 is a valid sortkey for flagtypes r/a=LpSolit --- diff --git a/template/en/default/admin/flag-type/edit.html.tmpl b/template/en/default/admin/flag-type/edit.html.tmpl index b8de6c735d..b9ad2a5355 100644 --- a/template/en/default/admin/flag-type/edit.html.tmpl +++ b/template/en/default/admin/flag-type/edit.html.tmpl @@ -129,11 +129,11 @@ Sort Key: - a number between 1 and [% constants.MAX_SMALLINT FILTER none %] by which + a number between 0 and [% constants.MAX_SMALLINT FILTER none %] by which this type will be sorted when displayed to users in a list; ignore if you don't care what order the types appear in or if you want them to appear in alphabetical order.
- diff --git a/template/en/default/filterexceptions.pl b/template/en/default/filterexceptions.pl index 7544b6808d..62084e7271 100644 --- a/template/en/default/filterexceptions.pl +++ b/template/en/default/filterexceptions.pl @@ -389,7 +389,7 @@ 'admin/flag-type/edit.html.tmpl' => [ 'type.id', - 'type.sortkey || 1', + 'type.sortkey || 0', 'selname', ],