getgrav / grav-plugin-simplesearch

Grav SimpleSearch Plugin
https://getgrav.org
MIT License
44 stars 55 forks source link

Published e Routable filter #84

Closed masetto closed 7 years ago

masetto commented 7 years ago

I propose to add two filter in config file: published and routable. In default yaml file they are initializated to "true". Before this changes the plugin shows pages marked "published: false" and "routable: false" too! The “routable: false” pages search result is a link that won't work!

flaviocopes commented 7 years ago

published: false pages are already removed from the search. Non-routable pages should be removed too, I now noticed they are not.

It's a bug, going to fix this without adding additional configuration, as it's not a desired behavior.

flaviocopes commented 7 years ago

So, closing the PRs