Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
basic
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
xrm
basic
Commits
eaa967d8
Commit
eaa967d8
authored
4 years ago
by
Johannes Goderbauer
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into 2020.2.0
parents
7ae6a540
7bf81a4f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
process/IncomingCallExecutor_lib/process.js
+2
-0
2 additions, 0 deletions
process/IncomingCallExecutor_lib/process.js
with
2 additions
and
0 deletions
process/IncomingCallExecutor_lib/process.js
+
2
−
0
View file @
eaa967d8
...
...
@@ -408,6 +408,8 @@ IncomingCallExecutor._getContactsFromNumber = function(pNumber, pContactIds)
.
leftJoin
(
"
PERSON
"
,
"
CONTACT.PERSON_ID = PERSON.PERSONID
"
)
.
where
(
"
CONTACT.STATUS
"
,
$KeywordRegistry
.
contactStatus
$active
())
.
and
(
"
CONTACT.CONTACTID
"
,
contactIds
,
SqlBuilder
.
IN
())
//order by import if more than one record would be returned to give a statement: the first created, active contact is used
.
orderBy
(
"
CONTACT.DATE_NEW asc
"
)
.
table
();
//map to the result how the entities-methods would return it to have less effort later when the mentioned ticket is done
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment