Commit dbc76529 authored by Frank Bergmann's avatar Frank Bergmann

- API Browser:

  Now allowing package_key as a parameter
parent 82770b87
......@@ -9,7 +9,8 @@ ad_page_contract {
@creation-date 3 Jul 2000
@cvs-id $Id$
} {
version_id
{ version_id "" }
{ package_key "" }
{ public_p "" }
{ kind "procs_files" }
} -properties {
......@@ -25,6 +26,12 @@ ad_page_contract {
content_pages:multirow
}
if {"" != $package_key} {
set version_id [db_string package_version "select min(version_id) from apm_package_versions where package_key = :package_key" -default ""]
}
if {"" == $version_id} { ad_return_complaint 1 "package-view: You need to specify version_id or package_key" }
set public_p [api_set_public $version_id $public_p]
db_1row pretty_name_from_package_id {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment