Skip to content

[Backport] Pass parameter for export button url #14903

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

Conversation

rogyar
Copy link
Contributor

@rogyar rogyar commented Apr 29, 2018

Original PR: #13208

Description

Pass parameter to export button url, configure button in invoice, shipment and creditmemo xml file

Fixed Issues (if relevant)

  1. Extra records are in exported CSV file for order #12714: Extra records are in exported CSV file for order

Manual testing scenarios

  1. Log in to Admin
  2. Go to Sales > Orders
  3. Open one of the orders from preconditions
  4. Go to Invoices tab
  5. Click Export and select CSV
  6. Open exported CSV file

@magento-engcom-team magento-engcom-team added this to the April 2018 milestone Apr 29, 2018
@magento-engcom-team magento-engcom-team added Partner: Atwix Pull Request is created by partner Atwix partners-contribution Pull Request is created by Magento Partner labels Apr 29, 2018
* @param ContextInterface $context
* @return array
*/
protected function getAdditionalParams($config, $context)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @rogyar , due to Magento backward compatibility we can't introduce new public and protected methods. Please change it to private.
Backward compatible development

@rogyar
Copy link
Contributor Author

rogyar commented Apr 30, 2018

@VladimirZaets my fault. Fixed the scope. Thank you

@VladimirZaets
Copy link
Contributor

Hi @rogyar , thanks for the fast update. But, I found the second problem, Magento 2.1 doesn't support attribute "active", and as I see, this attribute not needed for this case. Can you please remove it?

@rogyar
Copy link
Contributor Author

rogyar commented Apr 30, 2018

@VladimirZaets sure, I've removed the attribute. Thank you for spotting

@magento-engcom-team
Copy link
Contributor

Hi @rogyar. Thank you for your contribution.
Changes from your Pull Request will be available with the upcoming 2.1.15 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Partner: Atwix Pull Request is created by partner Atwix partners-contribution Pull Request is created by Magento Partner Progress: accept Release Line: 2.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants