Magento 2 – how to print MySQL query for Mirasvit Report module?

To print out the all SQL query for the reports which were generated by the Mirasvit Reports? Currently using the DB logger which generates lots of data while debugging. <preference for=”Magento\Framework\DB\LoggerInterface” type=”Magento\Framework\DB\Logger\File”/> <type name=”Magento\Framework\DB\Logger\File”> <arguments> <argument name=”logAllQueries” xsi:type=”boolean”>true</argument> <argument name=”debugFile” xsi:type=”string”>reportsLogger.log</argument> </arguments> </type>

Magento 2.2.2 Plugin how to add custom field in request api

I’ve create a plugin to listen to api POST /V1/order/:orderId/refund and I would like to receive custom field. I’ve added a field for testing like: name:[‘test’] Body E.G: { “items”: [ { “extension_attributes”: {}, “order_item_id”: 7, “qty”: 1 } ], “isOnline”: false, “notify”: true, “appendComment”: true, “name”: [ { “test”: “ok” } ], //THIS IS…

Magento 2.2.2 Plugin how to add custom field in request api

I’ve create a plugin to listen to api POST /V1/order/:orderId/refund and I would like to receive custom field. I’ve added a field for testing like: name:[‘test’] Body E.G: { “items”: [ { “extension_attributes”: {}, “order_item_id”: 7, “qty”: 1 } ], “isOnline”: false, “notify”: true, “appendComment”: true, “name”: [ { “test”: “ok” } ], //THIS IS…

“Something went wrong with processing the default view and we have restored the filter to its original state” when filtering orders?

After updating from 2.2.3 to 2.3.2 I am getting the error Something went wrong with processing the default view and we have restored the filter to its original state. whenever I try to filter orders. It works for products. I emptied the ui_bookmark table which makes the order grid load again, but after filtering the…