users@... wrote:
> > is it just me, or does the search for extended attributes not work as it
> > should? I defined some extended attributes for companies, and some for
> > persons. I have no problem to search and find contacts based on these
> > extended attributes, but it doesn't seem to work for companies.
> > does someone can confirm that it is working for him?
> > I have a two or three month old -trunk version of ogo installed.
>
> At least on the r2110 it works via zOGI -
>
> #!/usr/bin/env python
> import xmlrpclib,pprint
> server = xmlrpclib.Server('
http://.....')
> criteria1 = { }
> criteria1['conjunction'] = 'OR'
> criteria1['key'] = 'email2'
> criteria1['value'] = '%handling%'
> criteria1['expression'] = 'ILIKE'
> query = [ criteria1, ]
> flags = { 'limit' : 150,
> 'revolve': 'NO' }
> result = server.zogi.searchForObjects('Enterprise', query, 0, flags)
> for enterprise in result:
> print 'Enterprise#%d : %s' % (enterprise['objectId'],
> enterprise['name'])
>
> If it was broke I'm pretty sure I'd hear about it from my users pretty
> quick! :)
hmm, ok, but via the webui?
need to try later at home, on my testbox, whether this is not working there
too, otherwise if it works, then I'd say, its only my installation here.
thanks
Sebastian
--
OpenGroupware.org Users
users@...
http://mail.opengroupware.org/mailman/listinfo/users