Im using prestashop 1.6.1.4.
I want to add a column of "Carrier" at the orders view and a selection box in the top to filter by the selected carrier.
The closest answer i found whas this one: Edit Prestashop current orders view
It works fine to show a carrier column but:
1) It shows a text box in the top to filter (its not bad but will be better a selection box).
2) If you write something in that box and you press search, it throws the following error:
Bad SQL query Unknown column 'carrier' in 'where clause'
I asume that the code adds a WHERE 'carrier' like %***% which is wrong becouse "carrier " is an alias from a joint.
The problem is that i dont know how to modify the code to solve it, i dived into prestashop documentation but culdnt find the solution.