Ignore:
Timestamp:
Sep 8, 2011, 8:22:27 PM (13 years ago)
Author:
rvelices
Message:
  • reoptimize queries for MySql
  • week starts on monday/sunday applies also to weekly calendar
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/calendar_base.class.php

    r8728 r12118  
    221221
    222222    $level_items = simple_hash_from_query($query, 'period', 'nb_images');
    223     $level_items = array_to_int($level_items);
    224223
    225224    if ( count($level_items)==1 and
     
    293292    $current = implode('-', $page['chronology_date'] );
    294293    $upper_items = array_from_query( $query, 'period');
    295     $upper_items = array_to_int($upper_items);
    296294
    297295    usort($upper_items, 'version_compare');
Note: See TracChangeset for help on using the changeset viewer.