#22077Full search issues invalid db query if TCA has tables without configured columns
Description
Problem:
If a table has no usable columns, fullsearch creates invalid SQL:
SELECT COUNT FROM tx_rsaauth_keys WHERE (tx_rsaauth_keys. LIKE ‘testme’)
Solution:
Query a table only if at least one columns has been defined in TCA.
How to reproduce:
- Install rsa auth extension
- Use the fulltext seach in db Check module
(issue imported from #M13457)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.