magento / inventory

Magento Inventory Project (a.k.a MSI)
Open Software License 3.0
339 stars 248 forks source link

[Issue] disabled sorting column allocated_sources in sales order grid #3266

Open m2-assistant[bot] opened 3 years ago

m2-assistant[bot] commented 3 years ago

This issue is automatically created based on existing pull request: magento/inventory#3205: disabled sorting column allocated_sources in sales order grid


Description (*)

if you to want sort order grid by allocated_sources asc or desc then you see magento popup error and in error log writing message "[2020-10-01 15:40:45] main.CRITICAL: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'allocated_sources' in 'order clause', query was: SELECT main_table., braintree_transaction_details.transaction_source FROM sales_order_grid AS main_table LEFT JOIN braintree_transaction_details ON braintree_transaction_details.order_id = main_table.entity_id ORDER BY allocated_sources ASC LIMIT 20 {"exception":"[object] (Zend_Db_Statement_Exception(code: 42): SQLSTATE[42S22]: Column not found: 1054 Unknown column 'allocated_sources' in 'order clause', query was: SELECT main_table., braintree_transaction_details.transaction_source FROM sales_order_grid AS main_table LEFT JOIN braintree_transaction_details ON braintree_transaction_details.order_id = main_table.entity_id ORDER BY allocated_sources ASC LIMIT 20 at vendor/magento/framework/DB/Statement/Pdo/Mysql.php:110, PDOException(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column 'allocated_sources' in 'order clause' at /vendor/magento/framework/DB/Statement/Pdo/Mysql.php:91)"} [] " If this field is marked false I think this field is marked should be false

Manual testing scenarios (*)

  1. Field Allocated sources not be sorted

Questions or comments

Contribution checklist (*)

surabhisrivastava09 commented 3 years ago

@magento I am working on this issue

hassanas commented 3 years ago

@Surabhi-Cedcoss Any update on this issue ?

sinfonie commented 3 years ago

@Surabhi-Cedcoss Any update on this issue?

fdo36 commented 7 months ago

Any update on this issue?