[TYPO3-core] Flexform search

Bernhard Kraft kraftb at kraftb.at
Fri Jan 6 14:01:59 CET 2006


Robert Lemke wrote:


> Although I agree with you that we need a way to search for flexform values, 
> your solution is too much of a hack. So my vote is -1, sorry.

What about this version ?

It searches only the "non-tag" contents of a Flexform using a mysql-regex.

Now the problem that the tags itself are found is eliminated.


Is it ok to have a "WHERE a REGEX 'bla'" query or is this "TOO" mysql/msql specific ?

http://dev.mysql.com/doc/refman/4.1/en/string-comparison-functions.html


PS: It also works with utf-8 :)


greets,
Bernahard
-- 
----------------------------------------------------------------------
"Freiheit ist immer auch die Freiheit des Andersdenkenden"
Rosa Luxemburg, 1871 - 1919
----------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_flexsearch_2006-01-06.diff
Type: text/x-patch
Size: 1556 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060106/947ade2b/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060106/947ade2b/attachment.pgp 


More information about the TYPO3-team-core mailing list