projects
/
WP-Themes
/
michigantrailmaps.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8822983
)
Fixing commas in top-search results term list
author
Laury GvR
<laury@gaslightmedia.com>
Tue, 22 Aug 2017 18:10:25 +0000
(14:10 -0400)
committer
Laury GvR
<laury@gaslightmedia.com>
Tue, 22 Aug 2017 18:10:25 +0000
(14:10 -0400)
The list of search terms after performing a search in the top-search
was getting commas in the wrong places.
glm-member-db/views/front/members/list.html
patch
|
blob
|
history
diff --git
a/glm-member-db/views/front/members/list.html
b/glm-member-db/views/front/members/list.html
index
812d3ea
..
a552731
100644
(file)
--- a/
glm-member-db/views/front/members/list.html
+++ b/
glm-member-db/views/front/members/list.html
@@
-12,8
+12,8
@@
Search Terms:
{$key = 'regions'}
{/if}
<span class="trail-search-term">{if $termCounter > 0}, {/if}{$searchParams->$key->$value[0]->name}</span>
- {/if}
{$termCounter = $termCounter + 1}
+ {/if}
{else}
<span class="trail-search-term">{if $termCounter > 0}, {/if}{$value}</span>
{$termCounter = $termCounter + 1}