Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
acs-api-browser
Project
Project
Details
Activity
Releases
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
acs-api-browser
Commits
dbc76529
Commit
dbc76529
authored
Apr 04, 2012
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- API Browser:
Now allowing package_key as a parameter
parent
82770b87
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
package-view.tcl
www/package-view.tcl
+8
-1
No files found.
www/package-view.tcl
View file @
dbc76529
...
...
@@ -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
{
...
...
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