Changeset 17601 for trunk/www


Ignore:
Timestamp:
03/04/14 22:07:02 (11 years ago)
Author:
Daniela Dorner
Message:
fixed a small bug in the calculation of the shares
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/dch/shifteval.php

    r17599 r17601  
    209209        $queryshare="SELECT instituteid, COUNT(*) FROM memberlist.members ";
    210210        $queryshare.=" WHERE start < '".$starttimestamp->format('Y-m-d H:i:s')."'";
    211         $queryshare.=" AND stop > '".$stoptimestamp->format('Y-m-d H:i:s')."'";
     211        //$queryshare.=" AND stop > '".$stoptimestamp->format('Y-m-d H:i:s')."'";
     212        $queryshare.=" AND stop > '".$starttimestamp->format('Y-m-d H:i:s')."'";
    212213        $queryshare.=" GROUP BY instituteid";
    213214        //echo $queryshare." ";
     
    250251    echo "remark: does not yet take into account institute changes, i.e. only valid from 1.9.2012<br>";
    251252
     253    echo "--> ".$shifthourstotal;
    252254
    253255
Note: See TracChangeset for help on using the changeset viewer.