Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
solarium
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
solarium
Commits
171a2c30
Commit
171a2c30
authored
Feb 15, 2017
by
xcezx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Provides fluent interface
parent
aa463671
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
library/Solarium/QueryType/Select/Query/Component/Grouping.php
...ry/Solarium/QueryType/Select/Query/Component/Grouping.php
+4
-0
library/Solarium/QueryType/Select/Query/Component/Stats/Stats.php
...Solarium/QueryType/Select/Query/Component/Stats/Stats.php
+4
-0
No files found.
library/Solarium/QueryType/Select/Query/Component/Grouping.php
View file @
171a2c30
...
...
@@ -191,11 +191,15 @@ class Grouping extends AbstractComponent
* This overwrites any existing fields
*
* @param array $fields
*
* @return self Provides fluent interface
*/
public
function
setFields
(
$fields
)
{
$this
->
clearFields
();
$this
->
addFields
(
$fields
);
return
$this
;
}
/**
...
...
library/Solarium/QueryType/Select/Query/Component/Stats/Stats.php
View file @
171a2c30
...
...
@@ -248,11 +248,15 @@ class Stats extends AbstractComponent
* This overwrites any existing fields
*
* @param array $fields
*
* @return self Provides fluent interface
*/
public
function
setFields
(
$fields
)
{
$this
->
clearFields
();
$this
->
addFields
(
$fields
);
return
$this
;
}
/**
...
...
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