Sorting by Websites not working in product grid in backoffice #20511#20512
Sorting by Websites not working in product grid in backoffice #20511#20512magento-engcom-team merged 11 commits intomagento:2.3-developfrom
Conversation
|
Hi @XxXgeoXxX. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
|
@magento-engcom-team give me test instance |
|
Hi @vpodorozh. Thank you for your request. I'm working on Magento instance for you |
|
Hi @vpodorozh, here is your new Magento instance. |
vpodorozh
left a comment
There was a problem hiding this comment.
@XxXgeoXxX - thank you for your contribution.
Could you please take a look at my "change request"?
Also, it would be awesome if you would add the MFTF test for product grid sorting by website.
Thank you!
app/code/Magento/Catalog/Ui/Component/Listing/Columns/Websites.php
Outdated
Show resolved
Hide resolved
app/code/Magento/Catalog/Ui/Component/Listing/Columns/Websites.php
Outdated
Show resolved
Hide resolved
|
@XxXgeoXxX - what about MFTF test? |
Please add it, thx! |
|
Hi @vpodorozh |
|
Hi @vpodorozh, thank you for the review. |
| <!--Create new website --> | ||
| <actionGroup ref="AdminCreateWebsiteActionGroup" stepKey="createAdditionalWebsite"> | ||
| <argument name="newWebsiteName" value="Second Website"/> | ||
| <argument name="websiteCode" value="second_website"/> |
There was a problem hiding this comment.
I would recommend to use data entity customWebsite.
It will create unique WebSite Name and WebSite code.
Arguments will look like this
<argument name="newWebsiteName" value="{{customWebsite.name}}"/>
<argument name="websiteCode" value="{{customWebsite.code}}"/>
| </before> | ||
| <after> | ||
| <actionGroup ref="AdminDeleteWebsiteActionGroup" stepKey="deleteTestWebsite"> | ||
| <argument name="websiteName" value="Second Website"/> |
There was a problem hiding this comment.
Once you will use customWebsite entity, you should also specify it here: <argument name="websiteName" value="{{customWebsite.name}}"/>
And also you should specify {{customWebsite.name}} in all actions you specified 'Second Website'
|
Hi @okolesnyk |
|
✔️ QA passed |
|
@magento-engcom-team give me 2.3-develop instance |
|
Hi @okolesnyk. Thank you for your request. I'm working on Magento 2.3-develop instance for you |
|
Hi @okolesnyk, here is your Magento instance. |
|
@magento-engcom-team give me 2.3-develop instance |
|
Hi @okolesnyk. Thank you for your request. I'm working on Magento 2.3-develop instance for you |
|
Hi @okolesnyk, here is your Magento instance. |
92a7749 to
a6f266d
Compare
|
Hi @XxXgeoXxX, thank you for your contribution! |
issue #20511
Description (*)
Preconditions (*)
Magento Version : CE 2.2X
Magento Version : CE 2.3.X
Steps to reproduce (*)
Navigate to admin catalog product grid
Using "Columns" selection add Websites'' column in the grid
Expected result (*)
Sort by 'Websites' should be working fine.
Actual result (*)
Sort by 'websites' product attribute not working.
Manual testing scenarios (*)
Navigate to admin catalog product grid
Using "Columns" selection add Websites'' column in the grid
Contribution checklist (*)