Add support for auto-running widgets that take their query from a
authorMike Taylor <mike@indexdata.com>
Thu, 13 Feb 2014 14:39:08 +0000 (14:39 +0000)
committerMike Taylor <mike@indexdata.com>
Thu, 13 Feb 2014 14:39:08 +0000 (14:39 +0000)
commite7b275636165405283e6e25ebcc4ef3d63c85cba
tree41b274aa06f7c9cd175c66f9d6fdb087366315c7
parent0cae603f98b3f3bac279f3c3f249bdc247fd2ffe
Add support for auto-running widgets that take their query from a
nominated URL parameter. The syntax is
<div id='mkwsRecords' autosearch='!param!q' sort='relevance'></div>
to search for the term specified in the URL as "?q=TERM"
tools/htdocs/mkws.js