RealUrl bug in combination with the pagebrowser and facettes
|Priority:||Should have||Due date:|
|TYPO3 Version:||Has patch:|
If you want to use realurl to make your facette parameters less verbose and more readable, you will run into troubles. The generated facette options are encoded twice, but if they are used on the pagebrowse links only once. Unfortunatly I didn't found a proper solution, but to disable the postVarSets rewrite for the filter options. The encoding issue described above remains, but it works instead to fail badly.
'postVarSets' => array ( '_DEFAULT' => array ( 'sword' => array( array( 'GETvar' => 'tx_solr[q]', ), ), 'page' => array( array( 'GETvar' => 'tx_solr[page]', ), ), 'filter1' => array( array( 'GETvar' => 'tx_solr[filter]', ), ), 'filter2' => array( array( 'GETvar' => 'tx_solr[filter]', ), ), ), )
Partly unrelated: I would propose that you should use rawurlencode/rawurlencode in all cases instead of urldecode/urlencode, because the "raw" version is more standard compliant.