WordPress.org

Plugin Directory

Changeset 232219


Ignore:
Timestamp:
04/22/10 22:20:27 (4 years ago)
Author:
jmabe
Message:
  • fix for Zip Codes in search widget
  • fix for empty criteria in search widget
Location:
dsidxpress/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • dsidxpress/trunk/client.php

    r230774 r232219  
    197197        foreach ($get as $key => $value) { 
    198198            if (strpos($key, "idx-q") === false && strpos($key, "idx-d") === false) 
     199                continue; 
     200                 
     201            if(!$value) 
    199202                continue; 
    200203 
  • dsidxpress/trunk/widget-search.php

    r227179 r232219  
    116116            echo <<<HTML 
    117117                    <tr> 
    118                         <th><label for="idx-q-Zips">Zip</label></th> 
     118                        <th><label for="idx-q-ZipCodes">Zip</label></th> 
    119119                        <td> 
    120                             <select id="idx-q-Zips" name="idx-q-Zips"> 
     120                            <select id="idx-q-ZipCodes" name="idx-q-ZipCodes"> 
    121121HTML; 
    122122            foreach ($searchOptions["zips"] as $zip) { 
Note: See TracChangeset for help on using the changeset viewer.