Author: sevein
Date: Wed Apr 25 15:06:01 2012
New Revision: 11516

Log:
Change increment position because first item of the array was being ignored

Modified:
   trunk/apps/qubit/config/settings.yml.tmpl
   trunk/apps/qubit/modules/search/templates/_searchFields.php

Modified: trunk/apps/qubit/config/settings.yml.tmpl
==============================================================================
--- trunk/apps/qubit/config/settings.yml.tmpl   Wed Apr 25 10:35:57 2012        
(r11515)
+++ trunk/apps/qubit/config/settings.yml.tmpl   Wed Apr 25 15:06:01 2012        
(r11516)
@@ -40,15 +40,7 @@
     # Enable the database manager
     use_database:           true
 
-    # The language is coded in two lowercase characters,
-    # according to the ISO 639-1 standard, and the country
-    # is coded in two uppercase characters, according to
-    # the ISO 3166-1 standard.
-    # Examples: en, en_US, es_ES, fr...
     default_culture:        en
-
-    # List of supported timezones
-    # http://www.php.net/manual/en/timezones.php
     default_timezone:       America/Vancouver
 
   .actions:

Modified: trunk/apps/qubit/modules/search/templates/_searchFields.php
==============================================================================
--- trunk/apps/qubit/modules/search/templates/_searchFields.php Wed Apr 25 
10:35:57 2012        (r11515)
+++ trunk/apps/qubit/modules/search/templates/_searchFields.php Wed Apr 25 
15:06:01 2012        (r11516)
@@ -3,7 +3,6 @@
 
   <?php foreach ($sf_request->searchFields as $key => $item): ?>
     <?php if (empty($item['query'])) continue ?>
-    <?php $count++ ?>
     <tr>
       <td>
         <select name="searchFields[<?php echo $key ?>][operator]">
@@ -33,6 +32,7 @@
         </select>
       </td>
     </tr>
+    <?php $count++ ?>
   <?php endforeach; ?>
 <?php endif; ?>
 

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