Changeset 424


Ignore:
Timestamp:
10/07/10 01:49:19 (14 years ago)
Author:
nanardon
Message:
  • fix sql query
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Epoll/DB/Poll/Type/Binary.pm

    r421 r424  
    7070        select count(ballot.id), value from 
    7171        ( 
    72         select NULL as id, label as lower(value) from choice where poll = $1 
     72        select NULL as id, lower(label) as value from choice where poll = $1 
    7373        union 
    7474        select ballot.id, coalesce(ballot_map.to, value) as "value" from ballot 
Note: See TracChangeset for help on using the changeset viewer.