Skip to content

magento.salesOrderInvoice.list filters generates invalid query #34

@reinaldomendes

Description

@reinaldomendes
magento.salesOrderInvoice.list({                         
                            filters: { 
                                'order_id' : 14,
//                                'state': [1,2,3]
                            },             

                    }, function (err, rows) {
                        if (err)
                            throw err;
                        console.log(rows);
                    });
Magento Error: SQLSTATE[42S22]: Column not found: 1054 Unknown column '0' in 'where clause', query was: SELECT `main_table`.`entity_id`, `main_table`.`order_id`, `main_table`.`increment_id`, `main_table`.`created_at`, `main_table`.`state`, `main_table`.`grand_total`, `main_table`.`order_currency_code` FROM `sales_flat_invoice` AS `main_table` WHERE (((`0` = '14')))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions