Sweet, sweet use of data-mkws-config to change facet order.
authorMike Taylor <mike@indexdata.com>
Mon, 31 Mar 2014 15:15:52 +0000 (16:15 +0100)
committerMike Taylor <mike@indexdata.com>
Mon, 31 Mar 2014 15:15:52 +0000 (16:15 +0100)
examples/htdocs/mike.html

index 98f1be9..5001bfd 100644 (file)
@@ -32,7 +32,7 @@
     <table width="100%" border="0" cellpadding="6" cellspacing="0">
       <tr>
        <td class="mkwsTermlistContainer1" width="250" valign="top">
-         <div class="mkwsTermlists"></div>
+         <div class="mkwsTermlists" data-mkws-config='{ "facets": ["xtargets", "author", "subject"] }'></div>
        </td>
        <td class="mkwsMOTDContainer" valign="top">
          <div class="mkwsRanking"></div>