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
bdbea0ef
Commit
bdbea0ef
authored
Oct 12, 2012
by
Simon Green
Committed by
Frédéric Buclin
Oct 12, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 790129: Bugzilla->fields returns fields in random order (the sortkey is ignored)
r/a=LpSolit
parent
73958ee2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Bugzilla.pm
Bugzilla.pm
+3
-2
No files found.
Bugzilla.pm
View file @
bdbea0ef
...
@@ -592,7 +592,8 @@ sub fields {
...
@@ -592,7 +592,8 @@ sub fields {
}
}
}
}
return
$do_by_name
?
\%
requested
:
[
values
%
requested
];
return
$do_by_name
?
\%
requested
:
[
sort
{
$a
->
sortkey
<=>
$b
->
sortkey
||
$a
->
name
cmp
$b
->
name
}
values
%
requested
];
}
}
sub
active_custom_fields
{
sub
active_custom_fields
{
...
@@ -856,7 +857,7 @@ in a hashref:
...
@@ -856,7 +857,7 @@ in a hashref:
=item C<by_name>
=item C<by_name>
If false (or not specified), this method will return an arrayref of
If false (or not specified), this method will return an arrayref of
the requested fields.
The order of the returned fields is random.
the requested fields.
If true, this method will return a hashref of fields, where the keys
If true, this method will return a hashref of fields, where the keys
are field names and the valules are L<Bugzilla::Field> objects.
are field names and the valules are L<Bugzilla::Field> objects.
...
...
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