projects
/
mkws-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add targetfilter example.
[mkws-moved-to-github.git]
/
doc
/
library-configuration.markdown
diff --git
a/doc/library-configuration.markdown
b/doc/library-configuration.markdown
index
86230b3
..
e692a72
100644
(file)
--- a/
doc/library-configuration.markdown
+++ b/
doc/library-configuration.markdown
@@
-202,6
+202,12
@@
in the `mkws_config` structure:
This is merely syntactic sugar for "targetfilter" with the query
`udb==NAME`
This is merely syntactic sugar for "targetfilter" with the query
`udb==NAME`
+For example, a `Records` widget can be limited to searching only in
+targets that have been categorised as news sources by providing an
+attribute as follows:
+
+ <div class="mkwsRecords" targetfilter='categories=news'/>
+
- - -
- - -