[TYPO3-Solr] Removed POST-Var Support?
Heiko Kromm | Paints
h.kromm at paints.de
Fri Oct 12 13:46:49 CEST 2012
Hi Ingo,
before I made the update I used the searchform with method="POST".
<form id="tx-solr-search-form-pi-results" action="###FORM.ACTION###" method="POST" accept-charset="###FORM.ACCEPT-CHARSET###">
This worked fine.
In the initializeQuery-Function it is only checkd for GET-Parameters (t3lib_div::_GET($getParameterParts[0])). If I change this to t3lib_div::_GP($getParameterParts[0]), everything is fine again.
It's no big deal to change all my forms to use method GET, but I'm curious, why the POST-Var support has been removed.
Regards
Heiko
----- Ursprüngliche Mail -----
Von: "Ingo Renner" <ingo at typo3.org>
An: typo3-project-solr at lists.typo3.org
Gesendet: Freitag, 12. Oktober 2012 13:10:57
Betreff: Re: [TYPO3-Solr] Removed POST-Var Support?
Am 12.10.12 12:32, schrieb Heiko Kromm | Paints:
> Hi List,
>
> I made a update to version 2.8.0-dev and was wondering why I don't get any results.
> After debugging a while I found, that tx_solr_pluginbase_PluginBase::initializeQuery() only checks for GET-Vars.
>
> Is there a reason, why POST-Var support has been dropped?
can you go more into detail, what do you mean?
--
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2, Admin Google Summer of Code
TYPO3 - Open Source Enterprise Content Management System
http://typo3.org
Apache Solr for TYPO3 -
Open Source Enterprise Search meets Open Source Enterprise CMS
http://www.typo3-solr.com
_______________________________________________
TYPO3-project-solr mailing list
TYPO3-project-solr at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-solr
More information about the TYPO3-project-solr
mailing list