jondm Posted January 30, 2015 Share Posted January 30, 2015 Hi again! In the list view, i would like show supplier names instead the id. The view is generated automatically. How can I change it? The code i have in the renderList option is: public function renderList() { $this->addRowAction('view'); // Adds an Edit button for each result $this->addRowAction('edit'); // Adds a Delete button for each result $this->addRowAction('delete'); $this->simple_header = false; return parent::renderList(); } and the field list is the next one: $this->fields_list = array( ... 'id_product_supplier' => array('title' => $this->l('ID Supplier'), 'align' => 'center', 'class' => 'fixed-width-xs'), ... ); If i want show the name of the supplier instead the Id, and have the option to filter for suppliers in the list... What can i do? Thanks! Link to comment Share on other sites More sharing options...
jondm Posted February 1, 2015 Author Share Posted February 1, 2015 Can someone help me? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now