Skip to content

Fix Filter Customer Report Review #11524

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

Merged
merged 6 commits into from
Oct 25, 2017

Conversation

osrecio
Copy link
Member

@osrecio osrecio commented Oct 17, 2017

Remove where part from SelectCountSql when grid is filtered

Description

When customer is filtered in Reports -> Review -> By Customer, Grid tries to get number of rows but how you add a custom name that concats customer.firstname and customer.lastname and you need remove where from SelectCountSql

Fixed Issues (if relevant)

  1. Customer review report search Bug in 2.1.x, 2.2 #10301: Customer review report search Bug in 2.1.x, 2.2

Manual testing scenarios

  1. Go to Admin
  2. Reports -> Review -> By Customer
  3. Filter customer

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

@osrecio osrecio changed the title Filter Customer Report Review Fix Filter Customer Report Review Oct 17, 2017
@ishakhsuvarov ishakhsuvarov self-assigned this Oct 18, 2017
@ishakhsuvarov ishakhsuvarov added this to the October 2017 milestone Oct 18, 2017
@ishakhsuvarov ishakhsuvarov added develop bug report Component: Customer Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release labels Oct 18, 2017
@ishakhsuvarov
Copy link
Contributor

Hi @osrecio
Please change target branch to 2.3-develop instead of develop for this PR.

@osrecio osrecio changed the base branch from develop to 2.3-develop October 18, 2017 10:31
@osrecio
Copy link
Member Author

osrecio commented Oct 18, 2017

Changed

@ishakhsuvarov
Copy link
Contributor

@osrecio
Thank you for fast response. It would be also nice to include tests for the updated behavior or update existing ones. Do you need any help with that?

@osrecio
Copy link
Member Author

osrecio commented Oct 18, 2017

I will work on it

@osrecio
Copy link
Member Author

osrecio commented Oct 20, 2017

@ishakhsuvarov Added test to test functionality of getSelectCountSql

@ishakhsuvarov
Copy link
Contributor

Hi @osrecio
I've changed the included test to the integration one, as initial unit test tested the mock object and was always green, regardless of fix presence.
Please let me know if you have any concerns regarding this.

Thank you.

@osrecio
Copy link
Member Author

osrecio commented Oct 24, 2017

Seems like is ok. Thanks @ishakhsuvarov

@okorshenko okorshenko merged commit 4cbdf23 into magento:2.3-develop Oct 25, 2017
AntonEvers pushed a commit to AntonEvers/magento2 that referenced this pull request Oct 26, 2017
* upstream/2.3-develop: (37 commits)
  MAGETWO-81033: Create GraphQL single product fetch endpoint  - Address static failure
  MAGETWO-81033: Remove unnecessary classes
  MAGETWO-81033: Create GraphQL endpoint for fetching single product  - Adds functional tests, fixtures, and client  - Adds support for simple and configurable product
  magento#11524: Fix Filter Customer Report Review  - Integration test updated
  MAGETWO-82561: [TASK] Moved Customer Groups Menu Item from Other settings to Customers magento#11652
  MQE-478: Deliver Pangolins Sprint 11
  MQE-478: Deliver Pangolins Sprint 11
  MQE-478: Deliver Pangolins Sprint 11
  magento#11522: Fix Filter Customer Report Review  - Integration test updated
  magento#11524: Fix Filter Customer Report Review  - Integration test added
  Fix Magento/Backend/Block/Media/Uploader.php getConfigJson() method, using undefined class property _coreData
  MAGETWO-77673: <![CDATA[]]>in system.xml translate phrase not work, if comment starts from new line[port from 2.2-develop].
  MQE-478: Deliver Pangolins Sprint 11
  MQE-440: metadata changes for path parameters bug fix.
  MQE-237: [Generator] Add before and after logic to suites
  MQE-394: Pre-Install Script
  MQE-440: Added configurable product related metadata, data, and a sample test.
  MQE-429: Added a sample test to perform api PUT request.
  MQE-453: [DevOps] Add optional arg for consolidated test run
  MQE-345: [DevOps] [Customizability] Create suite schema declaration and supporting interpretation
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Award: test coverage bug report Component: Customer Progress: accept Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants