CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #13494

Facet link not working with empty query

Added by Yohann CERDAN about 2 years ago. Updated about 1 year ago.

Status:Closed Start date:2011-03-01
Priority:Should have Due date:
Assignee:Ingo Renner % Done:

100%

Category:Frontend Plugins
Target version:2.5-dkd
TYPO3 Version: Has patch:
PHP Version: Tags:
Votes: 0

Description

With empty queries, the "tx_solr[q]=" is missing in the facets links.

The problem is in the file : solr/classes/class.tx_solr_query.php @ getQueryLink() and getQueryUrl
  • t3lib_div::implodeArrayForUrl('', array($prefix => $queryParameters), '', TRUE)

With the last parameter at TRUE, blank strings are removed from the URL. With empty query, it is necessary to have this value at FALSE.


Related issues

related to Apache Solr for TYPO3 CMS - Bug #13841: Allow empty Query does not work combined with a filter Closed 2011-03-15

Associated revisions

Revision 49509
Added by Ingo Renner almost 2 years ago

Fixed issue #13494: Facet link not working with empty query

Revision 49509
Added by Ingo Renner almost 2 years ago

Fixed issue #13494: Facet link not working with empty query

History

Updated by Stefan Sprenger about 2 years ago

The parameter is also missing in the results per page dropdown and in the sorting links.

Updated by Ingo Renner about 2 years ago

  • Subject changed from Facet link and empty query to Facet link not working with empty query
  • Category set to Frontend Plugins
  • Assignee set to Ingo Renner
  • Target version set to 2.5-dkd

Updated by Ingo Renner about 2 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Updated by Ingo Renner about 2 years ago

fixed in dkd revision 76226

Updated by Ingo Renner about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF