Lines 108-127
$template->param(
Link Here
|
108 |
patron_curbside_pickups => Koha::CurbsidePickups->search( |
108 |
patron_curbside_pickups => Koha::CurbsidePickups->search( |
109 |
{ |
109 |
{ |
110 |
borrowernumber => $logged_in_patron->borrowernumber, |
110 |
borrowernumber => $logged_in_patron->borrowernumber, |
111 |
scheduled_pickup_datetime => { '>' => \'DATE(NOW())' }, |
|
|
112 |
}, |
111 |
}, |
113 |
{ |
112 |
{ |
114 |
order_by => { -asc => 'scheduled_pickup_datetime' } |
113 |
order_by => { -asc => 'scheduled_pickup_datetime' } |
115 |
} |
114 |
} |
116 |
), |
115 |
)->filter_by_scheduled_today, |
117 |
curbside_pickups => Koha::CurbsidePickups->search( |
116 |
curbside_pickups => Koha::CurbsidePickups->search( |
118 |
{ |
117 |
{}, |
119 |
scheduled_pickup_datetime => { '>' => \'DATE(NOW())' }, |
|
|
120 |
}, |
121 |
{ |
118 |
{ |
122 |
order_by => { -asc => 'scheduled_pickup_datetime' } |
119 |
order_by => { -asc => 'scheduled_pickup_datetime' } |
123 |
} |
120 |
} |
124 |
), |
121 |
)->filter_by_scheduled_today, |
125 |
); |
122 |
); |
126 |
|
123 |
|
127 |
output_html_with_http_headers $input, $cookie, $template->output, undef, |
124 |
output_html_with_http_headers $input, $cookie, $template->output, undef, |