Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-workflow
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-workflow
Commits
4a246056
Commit
4a246056
authored
Mar 28, 2023
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Now excluding objects in any closed status
parent
ec148ce0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
1 deletion
+24
-1
intranet-workflow-procs.tcl
tcl/intranet-workflow-procs.tcl
+24
-1
No files found.
tcl/intranet-workflow-procs.tcl
View file @
4a246056
...
...
@@ -1481,6 +1481,28 @@ ad_proc -public im_workflow_home_inbox_component {
set extra_where
[
join
$extra
_wheres
"and
\n\t
"
]
if
{
$extra
_where ne
""
}
{
set extra_where
",
\n\t
$extra
_where"
}
# The list of all
"deleted"
states of all ]po
[
object type
# This list needs to grow when adding new object types.
# 49 # Intranet Company Status
# 82 # Intranet Project Status
# 3503 # Intranet Investment Status
# 3812 # Intranet Cost Status
# 10100 # Intranet Employee Pipeline State
# 10131 # Intranet Invoice Status
# 11002 # Intranet SQL Selector Status
# 11402 # Intranet Notes Status
# 15002 # Intranet Report Status
# 16002 # Intranet Absence Status
# 17090 # Intranet Timesheet Conf Status
# 30097 # Intranet Ticket Status
# 47001 # Intranet Invoice Item Status
# 71002 # Intranet Baseline Status
# 73002 # Intranet Planning Status
# 75098 # Intranet Risk Status
# 85002 # Intranet Rule Status
# 86002 # Intranet Sencha Preferences Status
# 86202 # Intranet Sencha Column Configurations Status
set deleted_status_ids
{
49 82 3503 3812 10100 10131 11002 11402 15002 16002 17090 30097 47001 71002 73002 75098 85002 86002 86202
}
# Get the list of all
"open"
(
=enabled or started
)
tasks with their assigned users
set tasks_sql
"
...
...
@@ -1525,7 +1547,8 @@ ad_proc -public im_workflow_home_inbox_component {
$extra
_where
) t
where
(:filter_status_id is null OR :filter_status_id = t.status_id)
t.status_id not in (
[
join
$deleted
_status_ids
","
]
) and
(:filter_status_id is null OR :filter_status_id = t.status_id)
"
if
{
""
!=
$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