Skip to content

Conversation

kassner
Copy link
Contributor

@kassner kassner commented Aug 14, 2015

Hi,

This is a small attempt (more some guidance) to fix #1571.

On the first line, applySelectionOnTargetProvider filters the collection based on what was selected on the frontend. When you select all and then unselect some rows, looks like this specific method does all the magic needed. The method already was there, just wasn't called.

The second row, setLimit, is an ugly workaround, but only that way the collection is filled entirely. Without it, if you use "select all" in the grid and then the first row of this PR, the resulting collection only have 20 rows (or whatever the number of items your grid was showing). Digging a little in the code, the searchCriteriaBuilder should copy this from the DataProvider, but I couldn't find why it wasn't.

I'm not sure if this fixes entirely, I was having the same issue in the Order Grid, identified the problem and then fixed from there. I'm also not sure if this affect some other regions of the code.

I'll be happy to provide additional information.

Thanks!

@vpelipenko vpelipenko added the PS label Sep 1, 2015
@magento-cicd2
Copy link
Contributor

We have automated a Magento Contributor License Agreement verifier for contributions sent to our GitHub projects.
Please see the CLA agreement in the Pull Request comments.

@NadiyaS
Copy link
Contributor

NadiyaS commented May 10, 2016

Hi @kassner ,
thank you for contribution and we are sorry for delay.
Please upgrade your code with develop branch and rerun builds.
Internal ticket MAGETWO-52651 was created to process your PR

@NadiyaS NadiyaS added Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Progress: needs update labels May 10, 2016
@vkorotun vkorotun added bugfix and removed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development labels Aug 5, 2016
@sshrewz sshrewz added the linked label Aug 11, 2016
@vkublytskyi
Copy link

Close as issue #1571 already fixed

@vkorotun vkorotun added Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development and removed linked labels Aug 22, 2016
magento-team pushed a commit that referenced this pull request Nov 8, 2017
[Pangolins] Write store settings before tests (Braintree, Paypal)

 - MQE-236: [Generator] Add additional Comment methods
 - MQE-388: Write store settings before tests
 - MQE-398: Rename Page.urlPath attribute
 - MQE-450: [Framework] Create a custom "clearField()" function for the framework.
 - MQE-465: Data object xml doesn't support multidimensional arrays
 - MQE-523: Create mainline PRs for previous sprint (12)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Frontend bugfix Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants