Skip to content

Commit 13e1931

Browse files
committed
templates: pass OSD version when searching
* Pass OSD version [3|4] to the search function to filter out unrelated results. Signed-off-by: Jiri Fiala <[email protected]>
1 parent f17d23d commit 13e1931

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

_templates/_page_openshift.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130

131131
var distros = {
132132
'openshift-origin': ['docs_origin', version],
133-
'openshift-dedicated': ['docs_dedicated'],
133+
'openshift-dedicated': ['docs_dedicated', version],
134134
'openshift-online': ['docs_online'],
135135
'openshift-enterprise': ['docs_cp', version]
136136
};

_templates/_search_dedicated.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717
</div>
1818

1919
<script>
20-
hcSearchCategory("docs_dedicated");
20+
hcSearchCategory("docs_dedicated", "<%= version %>");
2121
</script>

0 commit comments

Comments
 (0)