Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-timesheet2
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
1
Merge Requests
1
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-timesheet2
Commits
64418de0
Commit
64418de0
authored
Jan 15, 2013
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Fixed issue if intranet-helpdesk is not installed
parent
5d0dd34f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
7 deletions
+13
-7
new.tcl
www/hours/new.tcl
+13
-7
No files found.
www/hours/new.tcl
View file @
64418de0
...
...
@@ -551,6 +551,18 @@ switch $list_sort_order {
}
}
set
exclude_closed_tickets_sql
""
if
{[
db_table_exists im_tickets
]}
{
set exclude_closed_tickets_sql
"
and coalesce(
(select ticket_status_id from im_tickets t where t.ticket_id = children.project_id),
0
) not in (
select * from im_sub_categories(
[
im_ticket_status_closed
]
)
)
"
}
set
sql
"
select
parent.project_id as top_project_id,
...
...
@@ -580,13 +592,7 @@ set sql "
tree_right(parent.tree_sortkey)
and parent.project_id in (
$parent
_project_sql)
and children.project_id in (
$child
_project_sql)
-- exclude closed tickets
and coalesce(
(select ticket_status_id from im_tickets t where t.ticket_id = children.project_id),
0
) not in (
select * from im_sub_categories(
[
im_ticket_status_closed
]
)
)
$exclude
_closed_tickets_sql
order by
lower(parent.project_name),
children.tree_sortkey
...
...
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