Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-dynfield
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-dynfield
Commits
2faa96ac
Commit
2faa96ac
authored
Sep 04, 2018
by
adrtel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Now optionally allowing to store hard-coded fields
parent
e0aabb53
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
intranet-dynfield-procs.tcl
tcl/intranet-dynfield-procs.tcl
+2
-1
No files found.
tcl/intranet-dynfield-procs.tcl
View file @
2faa96ac
...
...
@@ -547,6 +547,7 @@ ad_proc -public im_dynfield::set_local_form_vars_from_http {
ad_proc -public im_dynfield::attribute_store
{
{
-include_also_hard_coded_p 0
}
{
-object_type
""
}
-object_id:required
-form_id:required
...
...
@@ -631,7 +632,7 @@ ad_proc -public im_dynfield::attribute_store {
and aa.object_type = :object_type_org
and da.widget_name = dw.widget_name
and 't' = acs_permission__permission_p(da.attribute_id, :current_user_id, 'write')
and (also_hard_coded_p is NULL or also_hard_coded_p != 't')
and (also_hard_coded_p is NULL or also_hard_coded_p != 't'
or 1 = :include_also_hard_coded_p
)
order by aa.attribute_name
"
...
...
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