From aa5bb3f0bc17d858831412da82eef805ecafac89 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Sun, 14 Nov 2010 08:04:28 +0000 Subject: Fixes #2334: Converted viewtype => listtype and viewtypetoggle => listtypetoggle. Did my best to maintain backwards compatibility but might have missed something... git-svn-id: http://code.elgg.org/elgg/trunk@7311 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/file/search.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/file/search.php') diff --git a/mod/file/search.php b/mod/file/search.php index 8dd4669a9..5c6c0a969 100644 --- a/mod/file/search.php +++ b/mod/file/search.php @@ -14,7 +14,7 @@ // Get input $md_type = 'simpletype'; $tag = get_input('tag'); - $search_viewtype = get_input('search_viewtype'); + $listtype = get_input('listtype'); $friends = (int) get_input('friends_guid',0); if ($friends) { @@ -73,7 +73,7 @@ $offset = (int)get_input('offset', 0); $limit = 10; - if ($search_viewtype == "gallery") $limit = 12; + if ($listtype == "gallery") $limit = 12; if (!empty($tag)) { $params = array( 'metadata_name' => $md_type, -- cgit v1.2.3