Ignore:
Timestamp:
Apr 5, 2006, 12:29:35 AM (18 years ago)
Author:
plg
Message:

feature deleted: code for categories link was too complicated for such a
simple fature. Replaced by static association. Links are not persistent
anymore.

modification removed: #image_category.is_storage replaced by
#images.storage_category_id as in branche 1.5..

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/rating.php

    r1090 r1121  
    183183       i.tn_ext,
    184184       i.average_rate,
     185       i.storage_category_id,
    185186       MAX(r.date)          AS recently_rated,
    186187       COUNT(r.rate)        AS nb_rates,
    187188       SUM(r.rate)          AS sum_rates,
    188        ROUND(STD(r.rate),2) AS std_rates,
    189        ic.category_id       AS storage_category_id
     189       ROUND(STD(r.rate),2) AS std_rates
    190190  FROM '.RATE_TABLE.' AS r
    191191    LEFT JOIN '.IMAGES_TABLE.' AS i ON r.element_id = i.id
    192     INNER JOIN '.IMAGE_CATEGORY_TABLE.' AS ic ON ic.image_id = i.id
    193192  WHERE 1 = 1 ' . $display_filter . '
    194     AND ic.is_storage = \'true\'
    195193  GROUP BY r.element_id
    196194  ORDER BY ' . $available_order_by[$order_by_index][1] .'
Note: See TracChangeset for help on using the changeset viewer.