-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/21/2014 01:05 PM, Sibylle Koczian wrote: > It seems that this should help: > > filtered = [rec for rec in self if expr in ustr(rec[fld] or "")]
The problem is that some of the values are encoded, and others are not. Try replacing the filter() method in db/dDataSet.py with the code here: http://dabo.codepad.org/MCKfQJNK > But I didn't yet really try it out. And I'd like to know most of all why > the field type in the bizobj dataset depends on the state of the UI. The grid does some tricks to display different data types as strings; I'm not really sure why it's doing what you describe, though. I really wish we had more feedback from non-ASCII users when we were writing this stuff! ;-) - -- Ed Leafe -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iQIcBAEBAgAGBQJUZSvTAAoJEKMgtcocwZqL2QYP/iLkNcqEHsFcOVqFueFQcY0+ CERDM/Qtw7O9YqL0wifMAicG50Mjdp4+Ff0RirB9UkPxzrFKPKXqTTJzyB02u4Ur Zqm6hoYbPI457535qxK0dpnV/jZveIg9lPznnkJvvjaCinMaAbh4ZaSMzIlp1HKq k9wL3ul/kYBvhTsC04hWykXRY5vOcjmQnt1QGnoWgLDj7x0TCo2XJ8HsochLxk1M k2uRW7h4UvMUmj+neKYksUpWPQZcgNY3zkVeSuWjaRO0W5InH1NOUmrkfQAim60c J0+wVJ8V52/2VH7AqbIw0A+Xv76tmq3fiVAx6A3l2iId3gXKuWgDFMCNTLO22TvS MCDGWaQWBnWooR/bktuwS3nnaO25v3wIubFxrGKfLbGW1ubpNRwNgyZBEATSuVXK sCnNMVO9DXPeUHscCXYXPjsCj7szXJobsfH71BOkRQ6OakuIh2vZURacxZxi4pnf 3/uRLBD+G8BRjVbDjMax3ZySBgQG906ebBPKzHne81LqVouWWV3UBH69HmvzWdpI UAyRd5fu4FfD3VfZyUYLbrsFNxtGSWlIaPxCS6UBCJ3/ByfokKKAAcJce7rxqBiE w22XP0eigJahN1dFGPmnk9j+Ep3pH1FnVcSJQbxv+y2ZscbN843EXqdpXfm9fPcB jafsZCEZd3pUWVvR5axb =Agv3 -----END PGP SIGNATURE----- _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
