Author: sevein
Date: Thu May  3 18:08:49 2012
New Revision: 11629

Log:
The user agent ignores URI parameters so I'm sending them as part of the form

Modified:
   branches/2.0/apps/qubit/modules/actor/templates/browseSuccess.php

Modified: branches/2.0/apps/qubit/modules/actor/templates/browseSuccess.php
==============================================================================
--- branches/2.0/apps/qubit/modules/actor/templates/browseSuccess.php   Thu May 
 3 17:58:42 2012        (r11628)
+++ branches/2.0/apps/qubit/modules/actor/templates/browseSuccess.php   Thu May 
 3 18:08:49 2012        (r11629)
@@ -29,7 +29,10 @@
   <div class="span9" id="main-column">
 
     <div class="search">
-      <form action="<?php echo url_for(array('module' => 'actor', 'action' => 
'browse') + $sf_request->getParameterHolder()->getAll()) ?>">
+      <form method="get" action="<?php echo url_for(array('module' => 'actor', 
'action' => 'browse')) ?>">
+        <?php foreach ($sf_request->getGetParameters() as $key => $value): ?>
+          <input type="hidden" name="<?php echo esc_entities($key) ?>" 
value="<?php echo esc_entities($value) ?>"/>
+        <?php endforeach; ?>
         <input name="subquery" value="<?php echo 
esc_entities($sf_request->subquery) ?>" placeholder="<?php echo __('Search 
%1%', array('%1%' => sfConfig::get('app_ui_label_actor'))) ?>"/>
         <input class="form-submit" type="submit" value="<?php echo __('Search 
%1%', array('%1%' => sfConfig::get('app_ui_label_actor'))) ?>"/>
       </form>

-- 
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.

Reply via email to