fine tune query
This commit is contained in:
@@ -20,7 +20,8 @@ function booking_variety_admin() {
|
|||||||
|
|
||||||
$query = db_select('booking_variety_timeslots', 't');
|
$query = db_select('booking_variety_timeslots', 't');
|
||||||
$query->leftJoin('booking_event', 'e', 't.booking_eventid = e.eid');
|
$query->leftJoin('booking_event', 'e', 't.booking_eventid = e.eid');
|
||||||
$query->fields('t')->fields('e');
|
$query->fields('t')
|
||||||
|
->fields('e', array('eid', 'booking_eventname'));
|
||||||
$result = $query->execute();
|
$result = $query->execute();
|
||||||
|
|
||||||
$header = array (
|
$header = array (
|
||||||
|
Reference in New Issue
Block a user