Commit 8892eef8 authored by Kevin Paxman's avatar Kevin Paxman
Browse files

DESC is not a constant, it needs to be in quotes

parent 3722f8a1
......@@ -328,7 +328,7 @@ function uw_ct_event_block_view($delta = '') {
$events->condition('n.status' , 1, '=');
$events->condition('n.promote', 1, '=');
$events->havingCondition('field_event_date_value2', date('Y-m-d'), '>=');
$events->orderBy('n.sticky', DESC);
$events->orderBy('n.sticky', 'DESC');
$events->orderBy('events.field_event_date_value', 'ASC');
$events->orderBy('n.title');
$events->range(0, 3);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment