I got it.
Needs to add an alias for join
$this->db->join('airports dep', 'dep.id = routes.departure_airport', 'left');
and use dep.id inthread of airports.id
And I have a question again
My table have several foreign keys. Problem is I need use join to one table twice.
I use list_items method in my model
Two fields: departure and destination is foreign keys to airports table.
I use:
$this->db->…
Hi!
I understand!
This admin CRUD is created automatically from my model (extends Base_module_model)! I don't need use controllers to create admin CRUD. It's cool!
Hi! Thanks for reply!
This trick just for simple modules or I can use it with advanced modules?
My admin module controllers extends Fuel_base_controller and Fuel_base_controller extendsF uel_admin, so this trick must work?
Thank U!
Blog module is very useful. I study the advanced modules using this module.
I just had a little hitch with routing.
And now all works fine.
//for backend Fuel_base_controller $route[FUEL_ROUTE.'charters/aircrafts'] = CHARTERS_FOLDER.'/char…