Changeset 1142 for trunk/common


Ignore:
Timestamp:
04/25/10 20:30:35 (2 years ago)
Author:
wefgef
Message:

Task filters consider round_task order ids, intead of task ids.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/common/db/task.php

    r1141 r1142  
    243243    $query = "SELECT ia_task.id AS task_id, 
    244244                ia_task.title AS task_title, 
    245                 ia_task.order AS 'order', 
     245                round_task.`order_id` AS 'order', 
    246246                ia_task.page_name AS page_name, 
    247247                ia_task.open_source AS open_source, 
     
    257257    WHERE (round.id = 'arhiva' OR round.id = 'arhiva-educationala') 
    258258        AND ia_task.hidden = '0' $tag_filter 
    259     ORDER BY round.id DESC, ia_task.order"; 
     259    ORDER BY round.id DESC, round_task.`order_id`"; 
    260260 
    261261    $tasks = db_fetch_all($query); 
Note: See TracChangeset for help on using the changeset viewer.