Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-rest
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
intranet-rest
Commits
acb3cab1
Commit
acb3cab1
authored
Jul 18, 2011
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- REST Interface:
Fixed issue with im_categories if the user doesn't specify any category type
parent
ae334f21
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
intranet-rest-procs.tcl
tcl/intranet-rest-procs.tcl
+2
-1
No files found.
tcl/intranet-rest-procs.tcl
View file @
acb3cab1
...
...
@@ -1259,6 +1259,7 @@ ad_proc -private im_rest_get_im_categories {
set unlimited_sql
$sql
append sql
[
im_rest_object_type_pagination_sql -query_hash_pairs
$query
_hash_pairs
]
set value
""
set result
""
set obj_ctr 0
db_foreach objects
$sql
{
...
...
@@ -1479,7 +1480,7 @@ ad_proc -private im_rest_post_object_type {
# Return a JSON structure with all fields of the object.
set data_list
[
list
]
foreach key
[
array
names hash_array
]
{
set value
$hash
_array
(
$key
)
set value
$hash
_array
(
$key
)
lappend data_list
"
\"
$key
\"
:
\"
[
im_quotejson
$value
]
\"
"
}
...
...
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