Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-core
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-core
Commits
f9da542d
Commit
f9da542d
authored
Oct 19, 2021
by
Project Open
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Added eval to extra_from and extra_where
parent
a234b3dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
index.tcl
www/projects/index.tcl
+2
-2
No files found.
www/projects/index.tcl
View file @
f9da542d
...
@@ -237,8 +237,8 @@ db_foreach column_list_sql $column_sql {
...
@@ -237,8 +237,8 @@ db_foreach column_list_sql $column_sql {
lappend column_vars
"
$column
_render_tcl"
lappend column_vars
"
$column
_render_tcl"
lappend column_headers_admin
$admin
_html
lappend column_headers_admin
$admin
_html
if
{
""
!=
$extra
_select
}
{
lappend extra_selects
[
eval
"set a
\"
$extra
_select
\"
"
]
}
if
{
""
!=
$extra
_select
}
{
lappend extra_selects
[
eval
"set a
\"
$extra
_select
\"
"
]
}
if
{
""
!=
$extra
_from
}
{
lappend extra_froms
$extra
_from
}
if
{
""
!=
$extra
_from
}
{
lappend extra_froms
[
eval
"set a
\"
$extra
_from
\"
"
]
}
if
{
""
!=
$extra
_where
}
{
lappend extra_wheres
$extra
_where
}
if
{
""
!=
$extra
_where
}
{
lappend extra_wheres
[
eval
"set a
\"
$extra
_where
\"
"
]
}
if
{
""
!=
$order
_by_clause &&
if
{
""
!=
$order
_by_clause &&
$order
_by==$column_name
}
{
$order
_by==$column_name
}
{
set view_order_by_clause
$order
_by_clause
set view_order_by_clause
$order
_by_clause
...
...
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