aboutsummaryrefslogtreecommitdiff
path: root/mod/search
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2011-08-15 11:09:16 -0700
committerBrett Profitt <brett.profitt@gmail.com>2011-08-15 11:09:16 -0700
commita9037b5d853d8289d3fc860a1d451929e84ad486 (patch)
treea5d704771af13fd57f6fbf7655f7a4cad5d8aabb /mod/search
parent58ba957e4a3d99e3dde0be9214cc23f581f83cc1 (diff)
downloadelgg-a9037b5d853d8289d3fc860a1d451929e84ad486.tar.gz
elgg-a9037b5d853d8289d3fc860a1d451929e84ad486.tar.bz2
Fixes #3254. Removing limit for "+X more Y" in search results.
Diffstat (limited to 'mod/search')
-rw-r--r--mod/search/views/default/search/list.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/search/views/default/search/list.php b/mod/search/views/default/search/list.php
index 11860c094..571ba17a7 100644
--- a/mod/search/views/default/search/list.php
+++ b/mod/search/views/default/search/list.php
@@ -82,7 +82,8 @@ $more = ($more_check > 0) ? $more_check : 0;
if ($more) {
$title_key = ($more == 1) ? 'comment' : 'comments';
$more_str = elgg_echo('search:more', array($count, $type_str));
- $more_link = "<li class='elgg-item'><a href=\"$url\">$more_str</a></li>";
+ $more_url = elgg_http_remove_url_query_element($url, 'limit');
+ $more_link = "<li class='elgg-item'><a href=\"$more_url\">$more_str</a></li>";
} else {
$more_link = '';
}