8000 Search doesn't work because of caching - with solution · Issue #25 · kanow/operations · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Search doesn't work because of caching - with solution #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
boosim opened this issue Apr 24, 2025 · 0 comments
Open

Search doesn't work because of caching - with solution #25

boosim opened this issue Apr 24, 2025 · 0 comments
Assignees
Labels

Comments

@boosim
Copy link
boosim commented Apr 24, 2025

Hello,

On TYPO3 with the current operations version, the search in list mode did only work once. After that the selection could not be changed because of the TYPO3 cache.

In the file ext_localconf.php the Plugin is configured like this:

ExtensionUtility::configurePlugin(
'Operations',
'OperationList',
[
OperationController::class => 'list',
],
[
OperationController::class => 'search',
],
ExtensionUtility::PLUGIN_TYPE_CONTENT_ELEMENT
);

To make search non cached you also need to add it to the first list.
It's a bit of a curious thing in TYPO3 extension but to make a controller action not cached you need to add it to the cached and non cached list.
This works for me:

ExtensionUtility::configurePlugin(
'Operations',
'OperationList',
[
OperationController::class => 'list,search',
],
[
OperationController::class => 'search',
],
ExtensionUtility::PLUGIN_TYPE_CONTENT_ELEMENT
);

Kind regards
Florian

@kanow kanow self-assigned this Apr 28, 2025
@kanow kanow added the bug label Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants
0