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
9dae0079
Commit
9dae0079
authored
11 years ago
by
Kurund Jalmi
Browse files
Options
Downloads
Plain Diff
Merge pull request #1962 from dlobo/CRM-13745
CRM-13745 - fix mysql exception
parents
19b0158b
bbce9d40
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CRM/Contact/Form/Search/Custom/FullText.php
+8
-2
8 additions, 2 deletions
CRM/Contact/Form/Search/Custom/FullText.php
with
8 additions
and
2 deletions
CRM/Contact/Form/Search/Custom/FullText.php
+
8
−
2
View file @
9dae0079
...
...
@@ -838,10 +838,16 @@ WHERE (c.sort_name LIKE {$this->_text} OR c.display_name LIKE {$this->_text
}
}
function
contactIDs
(
$offset
=
0
,
$rowcount
=
0
,
$sort
=
NULL
)
{
function
contactIDs
(
$offset
=
0
,
$rowcount
=
0
,
$sort
=
NULL
,
$returnSQL
=
FALSE
)
{
$this
->
initialize
();
return
CRM_Core_DAO
::
singleValueQuery
(
"SELECT contact_id FROM
{
$this
->
_tableName
}
"
);
$sql
=
"SELECT contact_id FROM
{
$this
->
_tableName
}
"
;
if
(
$returnSQL
)
{
return
$sql
;
}
else
{
return
CRM_Core_DAO
::
singleValueQuery
(
$sql
);
}
}
function
all
(
$offset
=
0
,
$rowcount
=
0
,
$sort
=
NULL
,
$includeContactIDs
=
FALSE
,
$justIDs
=
FALSE
)
{
...
...
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