I have to build the page left navigation. I looked at the out of the box left navigation componenent. It builds a list with pagefilter. Pagefilter filters out the hidden pages. There is also an option to include the hidden pages. Right now, if showInLeftNav property is not set or is set to false then pagefilter considers it a hidden page. But I have a slight different requirement. The pagefilter should consider a page as hidden page ONLY if it is set to false. By default all pages should be included in left navigation if that showInLeftNav property is not set or showInLeftNav property is set to true.
Do I need to override pagefilter class or is there any other option available to accomplish this?