so i have this code in laravel 5
Customer::where('type', 1)->join('tb_customer_connector', 'tb_contact.id_customer', '=', 'tb_customer_connector.id_customer')
->join('tb_technology_tag', 'tb_customer_connector.id_product', '=', 'tb_technology_tag.id')
->where('tb_technology_tag.about', $id)
->get();
and simply this code i use for make a tabbar that make a fillter based on the technology.about but if a customer have two technology with same about it will make the customer show duoble because duoble connector
i already use district and groupBy and other but nothing changes
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire