Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CiviCRM Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
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
Development
CiviCRM Core
Commits
2a93bb5f
Commit
2a93bb5f
authored
11 years ago
by
Kurund Jalmi
Browse files
Options
Downloads
Plain Diff
Merge pull request
#489
from yashodha/CRM-12274
CRM-12274
parents
2fec1ddf
5161d8be
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
CRM/Campaign/BAO/Survey.php
+4
-4
4 additions, 4 deletions
CRM/Campaign/BAO/Survey.php
with
4 additions
and
4 deletions
CRM/Campaign/BAO/Survey.php
+
4
−
4
View file @
2a93bb5f
...
...
@@ -574,11 +574,11 @@ INNER JOIN civicrm_activity_contact activityAssignment
}
if
(
$interviewerId
)
{
$where
[]
=
"( activityAssignment.
assignee_
contact_id =
$interviewerId
)"
;
$where
[]
=
"( activityAssignment.contact_id =
$interviewerId
)"
;
}
if
(
!
empty
(
$voterIds
))
{
$where
[]
=
"( activityTarget.
target_
contact_id IN ( "
.
implode
(
','
,
$voterIds
)
.
" ) )"
;
$where
[]
=
"( activityTarget.contact_id IN ( "
.
implode
(
','
,
$voterIds
)
.
" ) )"
;
}
$whereClause
=
NULL
;
...
...
@@ -597,8 +597,8 @@ INNER JOIN civicrm_activity_contact activityAssignment
else
{
$select
=
"
SELECT activity.id, activity.status_id,
activityTarget.
target_
contact_id as voter_id,
activityAssignment.
assignee_
contact_id as interviewer_id,
activityTarget.contact_id as voter_id,
activityAssignment.contact_id as interviewer_id,
activity.result as result,
activity.activity_date_time as activity_date_time,
contact_a.display_name as voter_name"
;
...
...
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