splitbrain / dokuwiki-plugin-data

Add and query structured data in your DokuWiki
http://www.dokuwiki.org/plugin:data
GNU General Public License v2.0
50 stars 34 forks source link

exclude namespaces from search #196

Open cjohnsonuk opened 8 years ago

cjohnsonuk commented 8 years ago

I have some ---- dataentries ---- in my templates in my :templates: namespace that I don't want to appear in the lists returned by datatable and datalist.

Is it possible to filter on either absolute namespaces eg :template , or an expression to match a namespace, eg any template subname namespace in any client namespace something like /client:(.*):template:/

or to say only search from this namespace and below (eg only find chapters (filter : PageType=Chapter ) from the current client namespace and below. to find only the chapters related to that client?

Klap-in commented 8 years ago

You could use this filter: filter : %pageid% ~ yournamespace:* # only pages from the "yournamespace" namespace

edit: