aboutsummaryrefslogtreecommitdiffstats
path: root/mod/search.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-08 15:20:12 -0800
committerfriendica <info@friendica.com>2014-01-08 15:20:12 -0800
commit79102218324e794bb7096e682d61841b570fc411 (patch)
treea6a9918b5d4a750fff4b932ecc1066db56ed8d30 /mod/search.php
parentf1d6d5883238cec7384b5ac6b00b5d0321ecece5 (diff)
downloadvolse-hubzilla-79102218324e794bb7096e682d61841b570fc411.tar.gz
volse-hubzilla-79102218324e794bb7096e682d61841b570fc411.tar.bz2
volse-hubzilla-79102218324e794bb7096e682d61841b570fc411.zip
preparatory work for supporting a "list view" mode for conversations. This would be useful for forum-like channels and/or block-oriented themes.
Diffstat (limited to 'mod/search.php')
-rw-r--r--mod/search.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/search.php b/mod/search.php
index 32c8ca38e..d13c613c2 100644
--- a/mod/search.php
+++ b/mod/search.php
@@ -96,6 +96,7 @@ function search_content(&$a,$update = 0, $load = false) {
'$spam' => '0',
'$nouveau' => '0',
'$wall' => '0',
+ '$list' => ((x($_REQUEST,'list')) ? intval($_REQUEST['list']) : 0),
'$page' => (($a->pager['page'] != 1) ? $a->pager['page'] : 1),
'$search' => (($tag) ? urlencode('#') : '') . $search,
'$order' => '',