tweaks to studygroup pages

This commit is contained in:
Nathan Coad
2018-01-14 12:35:28 +11:00
parent 3a25d690f4
commit 46180afaeb
2 changed files with 3 additions and 2 deletions

View File

@@ -108,7 +108,7 @@ function _booking_studygroups_retrieve_eligible_people() {
FROM (
SELECT p.nid, p.booking_firstname, p.booking_lastname, p.booking_state, p.booking_country, p.booking_readinggroup, pay.booking_payment_date, p.booking_status, p.booking_gender, p.booking_dob
FROM {booking_person} p, {booking_payment} pay
WHERE booking_eventid = :eid and p.nid = pay.booking_person_nid and ( booking_status = 2 or booking_status = 4)
WHERE p.booking_eventid = :eid and p.nid = pay.booking_person_nid and ( p.booking_status = 2 or p.booking_status = 4)
LIMIT 100
) AS booking
WHERE booking_gender = \'M\'

View File

@@ -164,7 +164,8 @@ function booking_studygroups_leadhelp_view_summary() {
} //end iterate person list
//output everything
$output .= t("<h3>!event Study Group Leaders and Helpers</h3>", array('!event' => $event->booking_eventname));
$output .= t("<h3>!event Study Group Leaders and Helpers</h3>", array('!event' => $event->booking_eventname));
$output .= t("<p>This page lists all males that are either booked in or on the waiting list.</p>");
$output .= theme('table', array('header' => $header, 'rows' => $rows, 'attributes' => $attributes));
return $output;