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
467e7a75
Commit
467e7a75
authored
Jun 19, 2008
by
dkl%redhat.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 437614 â Product.get_products should be accessible as Product.get
Patch by David Lawrence <dkl@redhat.com> r/a=mkanat
parent
40145941
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
Product.pm
Bugzilla/WebService/Product.pm
+10
-2
No files found.
Bugzilla/WebService/Product.pm
View file @
467e7a75
...
...
@@ -23,6 +23,12 @@ use Bugzilla::Product;
use
Bugzilla::
User
;
import
SOAP::
Data
qw(type)
;
##################################################
# Add aliases here for method name compatibility #
##################################################
BEGIN
{
*
get_products
=
\&
get
}
# Get the ids of the products the user can search
sub
get_selectable_products
{
return
{
ids
=>
[
map
{
$_
->
id
}
@
{
Bugzilla
->
user
->
get_selectable_products
}]};
...
...
@@ -39,7 +45,7 @@ sub get_accessible_products {
}
# Get a list of actual products, based on list of ids
sub
get
_products
{
sub
get
{
my
(
$self
,
$params
)
=
@_
;
# Only products that are in the users accessible products,
...
...
@@ -147,7 +153,7 @@ ids.
=back
=item C<get
_products
> B<UNSTABLE>
=item C<get> B<UNSTABLE>
=over
...
...
@@ -155,6 +161,8 @@ ids.
Returns a list of information about the products passed to it.
Note: Can also be called as "get_products" for compatibilty with Bugzilla 3.0 API.
=item B<Params>
A hash containing one item, C<ids>, that is an array of product ids.
...
...
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