[TYPO3-core] Backend live search: your opinion about a bug please

François Suter fsu-lists at cobweb.ch
Fri Nov 11 11:14:37 CET 2011

Hi all,

While working on updating the TCA reference, I got to experiment in more 
detail with the BE live search. That's the search box that's in the top 
right corner and drops down to display search results. This is not to be 
confused with the search at the bottom of the List view (the distinction 
is important with regards to the bug I found).

The live search suffers from the following bug: it does not load the TCA 
of the tables to search in, which means that it misses all tables that 
are not already fully loaded (such as pages, tt_content, etc.). That 
would be most tables from extensions, in particular.

So the solution seems obvious: t3lib_div::loadTCA() has to be called for 
every table.

But that's where I have a question. With 
http://forge.typo3.org/issues/26829 Dmitry introduced improvement to the 
BE search by limiting which fields were searched for (with new TCA 
properties). Looking at the patch that was eventually applied, it 
appears that these changes were applied only to the BE search and *not* 
to the live search. I think that this is wrong and would like to propose 
a patch which also takes into account the "searchFields" TCA property 
for the live search  (on top of loading the full TCA, which BTW can then 
be loaded only for tables which have a "searchFields" directive).

Does that make sense or did I miss something?


PS: sorry for cross-posting, I'm not sure where such discussions should 
take place...


Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch

More information about the TYPO3-team-core mailing list