-
Notifications
You must be signed in to change notification settings - Fork 0
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
We need to add group.sort for VIT-2182. #38
Conversation
@@ -76,21 +76,47 @@ public static function sortToString($values) { | |||
} | |||
|
|||
public static function groupbyToString($values) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This method is getting a bit long.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't think of anything more groupbys would need, so it shouldn't get any longer
👍 |
array('key' => 'group', 'value' => 'true') | ||
); | ||
//set defaults | ||
$groupbyItems = array('group.limit' => 1, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like the new test is failing because of the integer 1
here and the string "1"
in the test.
👍 |
We need to add group.sort for VIT-2182.
I've changed the way groupbys work in Charizrd. Giving the models more control over the group fields