Fix search Appointments_model: appointments id field

This commit is contained in:
Vadim Serdunich 2023-09-14 19:39:52 +03:00
parent a05551ba74
commit 193205bfc0

View file

@ -466,7 +466,7 @@ class Appointments_model extends EA_Model {
$appointments = $this
->db
->select()
->select('appointments.*')
->from('appointments')
->join('services', 'services.id = appointments.id_services', 'left')
->join('users AS providers', 'providers.id = appointments.id_users_provider', 'inner')