From 71d6e81c8ba9130f9a5717b401a33dcf48ec7dd7 Mon Sep 17 00:00:00 2001 From: Cameron Date: Thu, 19 Dec 2013 23:27:30 -0800 Subject: [PATCH] Fix for news.php?all SEF URL. --- e107_core/url/news/sef_noid_url.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/e107_core/url/news/sef_noid_url.php b/e107_core/url/news/sef_noid_url.php index feb7ffe84..5ad406da4 100644 --- a/e107_core/url/news/sef_noid_url.php +++ b/e107_core/url/news/sef_noid_url.php @@ -154,7 +154,7 @@ class core_news_sef_noid_url extends eUrlConfig } ## no controller/action pair - news item view - map to extend.xxx - if(strpos($pathInfo, '/') === false) + if(strpos($pathInfo, '/') === false && $pathInfo != 'All') { $route = 'view/item'; $id = is_numeric($pathInfo) ? intval($pathInfo) : $this->itemIdByTitle($pathInfo); @@ -223,6 +223,11 @@ class core_news_sef_noid_url extends eUrlConfig //return 'list/year'; break; + case 'all': + $this->legacyQueryString = 'all.0.'.$page; + return 'list/all'; + break; + # force not found default: return false;