------------------------------------------------------------ revno: 3077 committer: Lars Helge Overland <[email protected]> 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
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp

