dokufreaks / plugin-tag

Assign category tags to wiki pages
http://dokuwiki.org/plugin:tag
GNU General Public License v2.0
54 stars 38 forks source link

namespace filtering #56

Closed peterfromearth closed 12 years ago

peterfromearth commented 12 years ago

supposing i want to show only pages in namespace "home:" also pages in "homework:" will be shown.

it will be fixed when changing the following line in helper.php from if ($ns && (strpos(':'.getNS($match), ':'.$ns) !== 0)) continue; to if ($ns && (strpos(':'.getNS($match).':', ':'.$ns.':') !== 0)) continue;

is there any side-effect when changing this line

michitux commented 12 years ago

I think this makes perfectly sense, I've just implemented it exactly the way you've suggested it.