lux icon indicating copy to clipboard operation
lux copied to clipboard

Global config.linkVars settings are interfering with ajax requests

Open guelzow opened this issue 4 years ago • 1 comments

Hi everyone.

The page TypeNum is added globally to all linkVars here: https://github.com/in2code-de/lux/blob/develop/Configuration/TypoScript/Lux/20_Configuration.typoscript#L2

When an other TypeNum is used (for example) an ajax search then it's TypeNum is added to every URL generated in the search. That severely limits the usefulness of this search, because it always points back to the ajax search entrypoint.

Proposed solution: Add the linkVars to their PageTypes locally, where they are used, and not globally where everybody else is using them.

Tobi

guelzow avatar Dec 21 '21 12:12 guelzow

Thx for the valuable feedback. I think you are right. We're going to change this in the near future.

einpraegsam avatar Dec 21 '21 13:12 einpraegsam

Thx is already fixed with 559e7e0aee3bf086fb38f56b7cffce3b6fc50ebd Thx for your feedback

einpraegsam avatar Aug 06 '24 11:08 einpraegsam

And thx for fixing.

guelzow avatar Aug 06 '24 11:08 guelzow