summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorSunil Joshi <joshi_sunil@in.com>2012-10-12 23:04:25 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2012-10-12 23:04:25 +0200
commitbfb66f198ca3e0dddcccaefc3d729f348a254056 (patch)
tree2053a46e79c24b9de5147b6ee6c8e44fe0a2d522 /template/en/default
parent4d8a1f9f7fde54157cf643a0e117ea2f671d573f (diff)
downloadbugzilla-bfb66f198ca3e0dddcccaefc3d729f348a254056.tar.gz
bugzilla-bfb66f198ca3e0dddcccaefc3d729f348a254056.tar.xz
Bug 791554: Make clear that 0 is a valid sortkey for flagtypes
r/a=LpSolit
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/admin/flag-type/edit.html.tmpl4
-rw-r--r--template/en/default/filterexceptions.pl2
2 files changed, 3 insertions, 3 deletions
diff --git a/template/en/default/admin/flag-type/edit.html.tmpl b/template/en/default/admin/flag-type/edit.html.tmpl
index b8de6c735..b9ad2a535 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 @@
<tr>
<th>Sort Key:</th>
<td>
- 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.<br>
- <input type="text" name="sortkey" value="[% type.sortkey || 1 %]" size="5" maxlength="5"
+ <input type="text" name="sortkey" value="[% type.sortkey || 0 %]" size="5" maxlength="5"
[%- ' disabled="disabled"' UNLESS can_fully_edit %]>
</td>
</tr>
diff --git a/template/en/default/filterexceptions.pl b/template/en/default/filterexceptions.pl
index 7544b6808..62084e727 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',
],