Update form
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 12 Dec 2018 18:23:34 +0000 (13:23 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 12 Dec 2018 18:24:18 +0000 (13:24 -0500)
hide region in filter form if nothing is in there.
checking if greater than 1 since there's an empty one that counts as 1

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

index 483a646..9f38b2c 100644 (file)
@@ -73,7 +73,7 @@
                                 {/if}
                             {/if}
                             {if $settings.list_show_search_region}
-                                {if $regions|@count gt 0}
+                                {if $regions|@count gt 1}
                                 <div>
                                     By Regions:
                                     <select name="regionUserSearch[]">