Skip to content

onSort event argument#717

Merged
ryanlanciaux merged 2 commits into
GriddleGriddle:masterfrom
NewBoCo:onSort-event
Aug 14, 2017
Merged

onSort event argument#717
ryanlanciaux merged 2 commits into
GriddleGriddle:masterfrom
NewBoCo:onSort-event

Conversation

@dahlbyk

@dahlbyk dahlbyk commented Aug 13, 2017

Copy link
Copy Markdown
Contributor

Griddle major version

1.x

Changes proposed in this pull request

Pass full sortProperty to events.onSort, if available.

Note that the initial call only includes id, not sortAscending. Easy enough to hard-code that to true, as in setSortProperties, but it may be useful to be able to identify if this was the initial sort?

Why these changes are made

It is right and good, and also closes #716 (cc @jariwalabhavesh)

Are there tests?

/shrug

@ryanlanciaux ryanlanciaux merged commit 2a1bef6 into GriddleGriddle:master Aug 14, 2017
@ryanlanciaux

Copy link
Copy Markdown
Member

👍 Thanks for cleaning that up!

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.

onSort event not giving sortAscending ascending property

2 participants