MrBertie / pagequery

An all-in-one, multi-column page listing plugin for Dokuwiki
http://www.dokuwiki.org/plugin:pagequery
16 stars 19 forks source link

hidestart does to much #38

Open geekitude opened 9 years ago

geekitude commented 9 years ago

Hi

IMHO, hidestart option removes too much stuff...

Here's the query I use: {{pagequery>*; sort=ns:asc,name:asc; group; cols=5; proper; border; snippet; hidejump; bullet=square; layout=column; filter=!ns:(user); }}

And here's the result:

    [start] (without any link)
        start (link to wiki start page)
    Namespace1 (link to namespace1:start)
        start (link to namespace1:start)
    Namespace2 (link to namespace2:start)
        start (link to namespace2:start)
        Page 1
        Page 2

Here's what I get if I add "hidestart": Namespace2 (link to namespace2:start)

    start (link to namespace2:start)
        Page 1
        Page 2

My thoughts are:

I found a workaround with a dirty hack of syntax.php but it's too ugly to propose a pull request (looping through $sorted_results).

Best regards