Author: sevein
Date: Wed Dec 29 04:11:32 2010
New Revision: 8909
Log:
In "Description updates" form, use GET instead of POST to pass search form
values to server. Fixes issue 1911.
Modified:
trunk/apps/qubit/modules/search/actions/descriptionUpdatesAction.class.php
trunk/apps/qubit/modules/search/templates/descriptionUpdatesSuccess.php
Modified:
trunk/apps/qubit/modules/search/actions/descriptionUpdatesAction.class.php
==============================================================================
--- trunk/apps/qubit/modules/search/actions/descriptionUpdatesAction.class.php
Wed Dec 29 00:02:06 2010 (r8908)
+++ trunk/apps/qubit/modules/search/actions/descriptionUpdatesAction.class.php
Wed Dec 29 04:11:32 2010 (r8909)
@@ -128,7 +128,7 @@
'sort' => 'updatedDown'
);
- $this->form->bind($request->getRequestParameters() +
$request->getPostParameters() + $defaults);
+ $this->form->bind($request->getRequestParameters() +
$request->getGetParameters() + $defaults);
if ($this->form->isValid())
{
Modified:
trunk/apps/qubit/modules/search/templates/descriptionUpdatesSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/search/templates/descriptionUpdatesSuccess.php
Wed Dec 29 00:02:06 2010 (r8908)
+++ trunk/apps/qubit/modules/search/templates/descriptionUpdatesSuccess.php
Wed Dec 29 04:11:32 2010 (r8909)
@@ -1,6 +1,6 @@
<h1><?php echo __('Description updates') ?></h1>
-<?php echo $form->renderFormTag(url_for(array('module' => 'search', 'action'
=> 'descriptionUpdates'))) ?>
+<?php echo $form->renderFormTag(url_for(array('module' => 'search', 'action'
=> 'descriptionUpdates')), array('method' => 'get')) ?>
<?php echo $form->renderHiddenFields() ?>
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.