Skip to content

Conversation

@alexcjohnson
Copy link
Collaborator

@alexcjohnson alexcjohnson commented Dec 14, 2016

Changes filter attribute calendar to valuecalendar and adds a new one targetcalendar to use if an array is provided as target. If target is a string (ie referring to an attribute in the same trace) it will ignore targetcalendar and instead use the calendar for that attribute (so xcalendar if target is 'x') which is what it was doing previously.

  • hmm, maybe we should still allow targetcalendar to be specified, like if you're filtering on text or something that doesn't have its own calendar attribute? yeah, I'll do that.

Note that this is a BREAKING change (calendar if supplied is not coerced into valuecalendar) but only breaking what's been in master for the last 6 days since merging #1220

@VeraZab @cldougl @chriddyp @etpinard

@alexcjohnson
Copy link
Collaborator Author

added cleanData step to turn calendar into valuecalendar for backward compatibility

@etpinard
Copy link
Contributor

💃

@alexcjohnson alexcjohnson merged commit 5bce249 into master Dec 14, 2016
@alexcjohnson alexcjohnson deleted the filter-cals branch December 14, 2016 20:17
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.

3 participants