Issue Bug Closed

#23512Browsebox broken since 4.3.x?

Mattias Borell 09/07/10, 13:31 updated 10/02/18, 12:22

Description

When searches return more hits than $results_at_a_time, the links presented for additional pages of results are broken.

Reason: class.tx_indexedsearch.php:makePointerSelect_link() uses getElementById to find the hidden form elements to update, but the form elements doesn’t have any id attributes, only name attributes.

Solution: Either add id attributes to the form elements (add ###HIDDEN_FIELDID### in makeSearchForm() ?) or use getElementsByName in makePointerSelect_link().

This came up during upgrade of a couple of installations from 4.2.x —> 4.3.5. The same code seems to be in 4.4.2.

I’ve tried it with the original css-template for indexed_search, as well as a modified one.
(issue imported from #M15656)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.