Project

General

Profile

Actions

Feature #97017

open

Allow LiveSearch to be disabled via configuration

Added by Stefan P over 2 years ago. Updated over 2 years ago.

Status:
Accepted
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2022-02-24
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

On very large setups the global LiveSearch is often not useful, because the result set is so large that you need to do local page-tree searches anyways to find anything relevant. Also the performance on big databases is very bad.

It would be nice if one could deactivate the rendering of the LiveSearch bar.

It is possible by unset($GLOBALS['TYPO3_CONF_VARS']['BE']['toolbarItems'][1435433108]) by this feels rather as a hack and is globally/user-independt. Nice would be some UserTsConfig setting or similar.


Related issues 2 (2 open0 closed)

Related to TYPO3 Core - Epic #93547: Collection of problems with large sitesAccepted2021-02-19

Actions
Related to TYPO3 Core - Bug #93937: Live search really slow for non admin users in large TYPO3 websitesNew2021-04-16

Actions
Actions #1

Updated by Georg Ringer over 2 years ago

  • Status changed from New to Accepted
Actions #2

Updated by Stefan P over 2 years ago

Additional things to consider:

Currently the bar is rendered automatically as soon as the current user has access to the List module.

This is a pure technical restriction, because the result list is rendered in the list module. But this is wrong from any reasonable POV:
  • A user who only has acces to the page module should be able to search in his accessible pages as well.
  • The live search popup (before pressing enter and accessing the list module with the full result set) would work without list module access
Actions #3

Updated by Benni Mack over 2 years ago

I think we should have options to disable toolbar items completely via UserTS:

```
options.toolbar.search = 0
options.toolbar.workspaces = 0
options.toolbar... = 0
```

Or something along the lines.

Actions #4

Updated by Stefan P over 2 years ago

Yes, it makes sense to introduce this as a general configuration and not limit it to the search bar.

Actions #5

Updated by Stefan P about 2 years ago

  • Related to Epic #93547: Collection of problems with large sites added
Actions #6

Updated by Stefan P 6 months ago

  • Related to Bug #93937: Live search really slow for non admin users in large TYPO3 websites added
Actions

Also available in: Atom PDF