Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
bfb66f19
Commit
bfb66f19
authored
Oct 12, 2012
by
Sunil Joshi
Committed by
Frédéric Buclin
Oct 12, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 791554: Make clear that 0 is a valid sortkey for flagtypes
r/a=LpSolit
parent
4d8a1f9f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
edit.html.tmpl
template/en/default/admin/flag-type/edit.html.tmpl
+2
-2
filterexceptions.pl
template/en/default/filterexceptions.pl
+1
-1
No files found.
template/en/default/admin/flag-type/edit.html.tmpl
View file @
bfb66f19
...
@@ -129,11 +129,11 @@
...
@@ -129,11 +129,11 @@
<tr>
<tr>
<th>Sort Key:</th>
<th>Sort Key:</th>
<td>
<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
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
don't care what order the types appear in or if you want them to appear
in alphabetical order.<br>
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 %]>
[%- ' disabled="disabled"' UNLESS can_fully_edit %]>
</td>
</td>
</tr>
</tr>
...
...
template/en/default/filterexceptions.pl
View file @
bfb66f19
...
@@ -389,7 +389,7 @@
...
@@ -389,7 +389,7 @@
'admin/flag-type/edit.html.tmpl'
=>
[
'admin/flag-type/edit.html.tmpl'
=>
[
'type.id'
,
'type.id'
,
'type.sortkey ||
1
'
,
'type.sortkey ||
0
'
,
'selname'
,
'selname'
,
],
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment