[TYPO3-english] extending livesearch in BE

Markus Klein klein.t3 at mfc-linz.at
Wed Aug 8 15:22:23 CEST 2012


Hi!

This sounds more like a bug.
IMO Livesearch should look into all fields, except when searching for a non-number it shouldn't search in eval-int fields.
Maybe we should file a forge ticket for this

Kind regards
Markus

> -----Original Message-----
> From: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-bounces at lists.typo3.org] On Behalf Of Peter Jaraczewski
> Sent: Wednesday, August 08, 2012 2:42 PM
> To: typo3-english at lists.typo3.org
> Subject: [TYPO3-english] extending livesearch in BE
> 
> Hi all,
> 
> is there a possibility to extend/override the functionality of livesearch in BE? In a project of mine there are some fe_users which
> usernames contain only integer values f.e. 106000 (which is a corresponding customer number). Livesearch performs a search only on
> uid and pid fields and on fields which TCA eval contains int.
> 
> My first try was to extend the eval with int by putting the following line into extTables.php:
> 
> $GLOBALS['TCA']['fe_users']['columns']['username']['config']['eval'] = 'nospace,uniqueInPid,required ,int';
> 
> livesearch works as expected then, but this makes it impossible to have usernames with strings as well :-/ So, how can i
> extend/subclass the livesearch to keep my project updateable?
> 
> Regards
> 
> Peter
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list