Adding the current doc version as an additional parameter for the search

This commit is contained in:
Viktor Klang 2012-09-28 01:01:56 +02:00
parent f2b077c31f
commit 90c7cf7fdf

View file

@ -156,6 +156,7 @@
'003065520604945464838:izzukx8-qba', customSearchOptions);
customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
customSearchControl.draw('cse');
customSearchControl.setSearchStartingCallback(this, function(c, s, q) { s.setQueryAddition("{{ version|e }}"); });
}, true);
</script>
{%- if include_analytics %}