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

5896 add showColumns/hideColumns filters to arrays #5944

Merged
merged 16 commits into from Aug 7, 2014

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Aug 7, 2014

It would also allow plugins to define their own API renderers but it is not completed yet. We could do this if we want to. For instance we probably should simplify the rendering of DataTable(Map/Simple) and we would need to adjust to currently hardcoded formats in the UI to display those that are available/activated.

To make sure the API still behaves the same I ran all integration tests with all formats and compared the difference between master and this branch. Looks good!

…would work. wondering if it fails any test
…her classes which also allows plugins to define their own render formats
…ently not supposed to render anything. This should fix many tests
…with a multi dim array we should actually use the datatable renderer the php way and not the apiRenderer way
…un the filters on it will not work. Instead run the filters directly on the array. Therefore, to not have duplicated code the dataTable and row can be now treated as an array and we access them like an array in the ColumnDelete filter which will be for now the only filter is applied on arrays
@tsteur tsteur merged commit 2a52246 into master Aug 7, 2014
@mattab
Copy link
Member

mattab commented Aug 7, 2014

Epic Pull Request!

@tsteur tsteur deleted the 5896_add_generic_filters_to_arrays branch August 12, 2014 09:49
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.

None yet

3 participants