projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d751eef
)
Add targetfilter example.
author
Mike Taylor
<mike@indexdata.com>
Fri, 25 Jul 2014 12:34:48 +0000
(13:34 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Fri, 25 Jul 2014 12:34:48 +0000
(13:34 +0100)
doc/library-configuration.markdown
patch
|
blob
|
history
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`
+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'/>
+
- - -