dokuwiki-plugin-data icon indicating copy to clipboard operation
dokuwiki-plugin-data copied to clipboard

exclude namespaces from search

Open cjohnsonuk opened this issue 9 years ago • 1 comments

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?

cjohnsonuk avatar May 18 '16 14:05 cjohnsonuk

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

edit:

  • %pageid% is absolute pageid
  • See also the comparator table in section https://www.dokuwiki.org/plugin:data#data_table_output

Klap-in avatar May 18 '16 21:05 Klap-in