← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 3077: Quickly fixed

 

------------------------------------------------------------
revno: 3077
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2011-03-18 14:51:29 +0100
message:
  Quickly fixed
modified:
  resources/sql/grouping.sql


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'resources/sql/grouping.sql'
--- resources/sql/grouping.sql	2011-03-18 12:55:58 +0000
+++ resources/sql/grouping.sql	2011-03-18 13:51:29 +0000
@@ -3,7 +3,7 @@
 
 insert into orgunitgroupmembers(orgunitgroupid,organisationunitid)
 select 22755 as orgunitgroupid,ou.organisationunitid as organisationunitid from organisationunit ou 
-where (name like '%Dispensary%' or name like '%dispensary%')
+where lower(name) like '%dispensary%'
 and not exists (
 select orgunitgroupid from orgunitgroupmembers om 
 where ou.organisationunitid=om.organisationunitid