Ignore:
Timestamp:
Mar 17, 2013, 8:32:17 PM (11 years ago)
Author:
mistic100
Message:

move update time from categories_table to category_filters_table

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/SmartAlbums/admin/cat_list.php

    r21358 r21658  
    2121    permalink,
    2222    dir,
    23     smart_update
     23    cf.updated
    2424  FROM '.CATEGORIES_TABLE.' AS cat
    2525  INNER JOIN '.CATEGORY_FILTERS_TABLE.' AS cf
    2626    ON cf.category_id = cat.id
     27  GROUP BY id
    2728  ORDER BY global_rank ASC
    2829;';
     
    146147      'ID'          => $category['id'],
    147148      'IMG_COUNT'   => !empty($categories_count_images[ $category['id'] ]) ? $categories_count_images[ $category['id'] ] : 0,
    148       'LAST_UPDATE' => format_date($category['smart_update'], true),
     149      'LAST_UPDATE' => format_date($category['updated'], true),
    149150
    150151      'U_JUMPTO'    => make_index_url(array('category' => $category)),
Note: See TracChangeset for help on using the changeset viewer.