summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-10-19 14:14:49 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2012-10-19 14:14:49 -0400
commitf17574c2b053e7fb0fb81f76a05ef3b8d21efa78 (patch)
treed7ff3fda18694a4893d34d9eed1ac0832e93c075 /lib
parent53fd10a2323eb7a906cb277facff3ae68fbc941a (diff)
index accepts feedid as parameter; fix to make the search provider work and to have nice urls anyway
Diffstat (limited to 'lib')
-rw-r--r--lib/search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/search.php b/lib/search.php
index d9d5d89f3..a5378fa56 100644
--- a/lib/search.php
+++ b/lib/search.php
@@ -17,7 +17,7 @@ class OC_Search_Provider_News extends OC_Search_Provider{
foreach($allFeeds as $feed) {
if(substr_count(strtolower($feed['title']), strtolower($query)) > 0) {
- $link = OCP\Util::linkTo('news', 'index.php').'&lastViewedFeedId='.urlencode($feed['id']);
+ $link = OCP\Util::linkTo('news', 'index.php').'&feedid='.urlencode($feed['id']);
$results[]=new OC_Search_Result($feed['title'], '', $link, (string)$l->t('News'));
}
}