[Zope] case insensitive search?

Andy McKay andym@ActiveState.com
Wed, 3 Jan 2001 09:24:44 -0800


A less easy way is to patch dtml-in so its allows sorts where it is case
insensitive. Theres a simple patch for this here:

http://www.zope.org/Members/andym/IgnoreCase

Then patch the findResult.dtml, dtml source:

lib\python\OFS\findResult.dtml

line 44: <dtml-in results sort ignore_case>

This will allow you to fix any management screen/sort using dtml-in to be
case insensitive. There are other options of course.

--
  Andy McKay, Developer.
  ActiveState.


----- Original Message -----
From: "Robin Becker" <robin@jessikat.fsnet.co.uk>
To: <zope@zope.org>
Sent: Tuesday, January 02, 2001 5:16 PM
Subject: [Zope] case insensitive search?


> Is there an easy way to make the Find tab case insensitive. It seems
> like a very common need, but I see that FindSupport.py is calling
> string.find which makes it seem as though this is harder than it should
> be.
> --
> Robin Becker
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>