aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-09-05 01:18:05 -0700
committerfriendica <info@friendica.com>2013-09-05 01:18:05 -0700
commitfd5e2c6d6c2c66c37fdba7cf26d50dfe1b83e566 (patch)
treee50de3a292ba70d5a08cd6a6baad51b6b14a4c81
parentf1d875c3e181ce02020830ed9e40b0ffb38ccc85 (diff)
downloadvolse-hubzilla-fd5e2c6d6c2c66c37fdba7cf26d50dfe1b83e566.tar.gz
volse-hubzilla-fd5e2c6d6c2c66c37fdba7cf26d50dfe1b83e566.tar.bz2
volse-hubzilla-fd5e2c6d6c2c66c37fdba7cf26d50dfe1b83e566.zip
fix network search - except it can't search private posts. That may be a problem.
-rw-r--r--mod/network.php3
-rw-r--r--version.inc2
2 files changed, 3 insertions, 2 deletions
diff --git a/mod/network.php b/mod/network.php
index b2ff671c7..9b108aef8 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -379,7 +379,7 @@ function network_content(&$a, $update = 0, $load = false) {
// --- end item filter tabs
-
+ $search = (($_GET['search']) ? $_GET['search'] : '');
// search terms header
if($search)
$o .= '<h2>' . t('Search Results For:') . ' ' . htmlspecialchars($search) . '</h2>';
@@ -484,6 +484,7 @@ function network_content(&$a, $update = 0, $load = false) {
. "'; var profile_page = " . $a->pager['page'] . ";</script>";
+logger('Search: ' . $search);
$a->page['htmlhead'] .= replace_macros(get_markup_template("build_query.tpl"),array(
'$baseurl' => z_root(),
diff --git a/version.inc b/version.inc
index 5c930aad3..a99b76c17 100644
--- a/version.inc
+++ b/version.inc
@@ -1 +1 @@
-2013-09-04.426
+2013-09-05.427