From 0b4e20cc13eaadaee104a8815403ac749e3a49fa Mon Sep 17 00:00:00 2001 From: Michael Hamann Date: Mon, 2 Dec 2013 00:12:49 +0100 Subject: Fix RSS namespace listings containing hidden pages --- feed.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'feed.php') diff --git a/feed.php b/feed.php index 8d1dcea6a..bdce666d2 100644 --- a/feed.php +++ b/feed.php @@ -476,8 +476,12 @@ function rssListNamespace($opt) { $ns = str_replace(':', '/', $ns); $data = array(); - sort($data); - search($data, $conf['datadir'], 'search_list', '', $ns); + $search_opts = array( + 'depth' => 1, + 'pagesonly' => true, + 'listfiles' => true + ); + search($data, $conf['datadir'], 'search_universal', $search_opts, $ns); return $data; } -- cgit v1.2.3