projects
/
web
/
MichiganTrailMaps.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa31a0e
)
Update search display
author
Steve Sutton
<steve@gaslightmedia.com>
Wed, 24 Jul 2013 15:20:47 +0000
(15:20 +0000)
committer
Steve Sutton
<steve@gaslightmedia.com>
Wed, 24 Jul 2013 15:20:47 +0000
(15:20 +0000)
Need to add in if they are searching for a trail by name.
Toolkit/Members/SearchDisplay.php
patch
|
blob
|
history
diff --git
a/Toolkit/Members/SearchDisplay.php
b/Toolkit/Members/SearchDisplay.php
index
8b25acd
..
6e86342
100644
(file)
--- a/
Toolkit/Members/SearchDisplay.php
+++ b/
Toolkit/Members/SearchDisplay.php
@@
-82,6
+82,11
@@
class Toolkit_Members_SearchDisplay
$html = '';
if (count($this->_searchTerms) > 0) {
$html .= 'Searching for ';
+ if ($this->_searchTerms->offsetExists('member_name')) {
+ $memberName = $this->_searchTerms->offsetGet('member_name');
+ $html .= ' Trails named ' . $memberName;
+ return $html;
+ }
if ($this->_searchTerms->offsetExists('activity')) {
$activity = $this->_searchTerms->offsetGet('activity');
$html .= $activity . ' ';