Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository 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
justinfreeman (Agileware)
Core
Commits
b98f957b
Commit
b98f957b
authored
11 years ago
by
Kurund Jalmi
Browse files
Options
Downloads
Plain Diff
Merge pull request #2436 from eileenmcnaughton/test-fix
Test fix
parents
90e87697
72e41e3a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CRM/Contact/BAO/Group.php
+2
-2
2 additions, 2 deletions
CRM/Contact/BAO/Group.php
tests/phpunit/api/v3/GroupContactTest.php
+1
-1
1 addition, 1 deletion
tests/phpunit/api/v3/GroupContactTest.php
with
3 additions
and
3 deletions
CRM/Contact/BAO/Group.php
+
2
−
2
View file @
b98f957b
...
...
@@ -676,7 +676,7 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group {
* @return array $groupList associated array of group list
* @access public
*/
public
function
getGroupListSelector
(
&
$params
)
{
static
public
function
getGroupListSelector
(
&
$params
)
{
// format the params
$params
[
'offset'
]
=
(
$params
[
'page'
]
-
1
)
*
$params
[
'rp'
];
$params
[
'rowCount'
]
=
$params
[
'rp'
];
...
...
@@ -1043,7 +1043,7 @@ WHERE {$whereClause}";
return
CRM_Core_DAO
::
singleValueQuery
(
$query
,
$params
);
}
function
whereClause
(
&
$params
,
$sortBy
=
TRUE
,
$excludeHidden
=
TRUE
)
{
static
function
whereClause
(
&
$params
,
$sortBy
=
TRUE
,
$excludeHidden
=
TRUE
)
{
$values
=
array
();
$clauses
=
array
();
...
...
This diff is collapsed.
Click to expand it.
tests/phpunit/api/v3/GroupContactTest.php
+
1
−
1
View file @
b98f957b
...
...
@@ -53,7 +53,7 @@ class api_v3_GroupContactTest extends CiviUnitTestCase {
$this
->
_contactId
=
$this
->
individualCreate
();
$this
->
_groupId1
=
$this
->
groupCreate
(
NULL
);
$this
->
_groupId1
=
$this
->
groupCreate
();
$params
=
array
(
'contact_id'
=>
$this
->
_contactId
,
'group_id'
=>
$this
->
_groupId1
,
...
...
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