undoing previous changes to test bugs in the header search results
authorAnthony Talarico <talarico@gaslightmedia.com>
Thu, 1 Jun 2017 13:00:16 +0000 (09:00 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Thu, 1 Jun 2017 13:00:16 +0000 (09:00 -0400)
commenting out the trail list search query terms due to it breaking the results page

glm-member-db/views/front/members/list.html

index c362cfe..af01057 100644 (file)
@@ -1,10 +1,11 @@
 
 {$searchParams = apply_filters('member_list_header_search', '')|json_decode}
-
-<!--{$searchParams|@print_r}-->
+<!--{$smarty.request|@print_r}-->
+<!--
 <div class="trail-list-search-terms">
 Search Terms: 
 {foreach $smarty.request as $key=>$value}
+  {if $value[0]}
    {if $key !== 'action' && $key !== 'submit' && $key !== 'categories'}
      {if $key !== 'textSearch'}
          {if $key === 'regionUserSearch'}
@@ -15,12 +16,16 @@ Search Terms:
           <span class="trail-search-term">[{$value}]</span>
     {/if}
     {elseif $key === 'categories'}
+  
         {foreach $value as $v}
+           {$value|@print_r}
             <span class="trail-search-term">  [{$categories[$v].name}]   </span>
         {/foreach}
     {/if}
+    {/if}
 {/foreach}
 </div>
+-->
 <div class="glm-member-db-list glm-member-db-{$view}-view
     {if $settings.list_map_show_opened}map-opened{else}map-closed{/if}
     {if $settings.list_show_search_filters_opened}filters-opened{else}filters-closed{/if}