Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Group function closer to the original one #134

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

lexx27
Copy link

@lexx27 lexx27 commented Jul 14, 2016

The group function had some problem with the arguments.
ex. the way arguments were passed was not like the js api

Also the "multi" option was ignored

I hope that my code is not total trash

Made it more compatible with the original api
Made it more compatible with the original api
@lexx27 lexx27 closed this Jul 17, 2016
@danielmewes
Copy link
Owner

Thanks for the PR @lexx27 . Sorry I haven't gotten around to looking at it yet. I'll try to do so before the next PHP-RQL release.

@danielmewes danielmewes reopened this Jul 28, 2016
@@ -9,13 +9,13 @@ class NumberDatum extends Datum
{
public function encodeServerRequest()
{
return (float)$this->getValue();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you change this?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because all the numbers are saved as float. I couldn't save integers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants