[Typo3-UG Oesterreich] Bug im Indexed Search bei Großbuchstaben

Markus Wagner wagner.m01 at aon.at
Thu Sep 16 16:39:12 CEST 2004


Ok, habs gefunden bei den Bugs!

Am Thu, 16 Sep 2004 16:11:43 +0200 schrieb Markus Wagner:

> Hallo Michael!
> 
> Also entweder fehlt da noch was oder das stimmt nicht, weil bei mir steht
> das bereits so da ...
> 
> Markus
> 
> Am Thu, 16 Sep 2004 15:52:09 +0200 schrieb Michael Stucki:
> 
>> Hallo Markus,
>> 
>>> Was jedoch keinen Unterschied macht, da die offizielle dasselbe Verhalten
>>> zeigt. Habt ihr selbst noch nei das Problem beobachtet? Habt ihr mal eine
>>> Indexed Search auf einer HP verwendet, wo ich mir das mal kurz anschauen
>>> darf?
>> 
>> Auf http://typo3.org/ ist der Fehler z.B. auch vorhanden.
>> 
>> Der Fehler ist in 3.7 gelöst, der Patch ist recht simpel:
>> 
>> --- cut ---
>> --- class.tslib_search.php.bak  2004-09-16 15:49:35.000000000 +0200
>> +++ class.tslib_search.php  2004-09-16 15:49:39.000000000 +0200
>> @@ -226,7 +226,7 @@
>>          * @param       string          Special chars which are deleted if the append the searchword (+-., is default)
>>          * @return      mixed           Returns an ARRAY if there were search words, othervise the return value may be unset.
>>          */
>> -       function split($origSword, $specchars='+-', $delchars='+.,-')   {
>> +       function split($origSword, $specchars='+-', $delchars='+-.,')   {
>>                 $sword = $origSword;
>>                 $specs = '['.$this->quotemeta($specchars).']';
>>                 $delchars = '['.$this->quotemeta($delchars).']';
>> --- cut ---
>> 
>> Gruss, michael




More information about the TYPO3-at mailing list