Skip to content

Commit

Permalink
Update default query handler
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanpadams committed Oct 7, 2024
1 parent fa16acf commit 73584db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -216,5 +216,5 @@
}
]
},
"generated_at": "2024-09-27T23:06:27Z"
"generated_at": "2024-10-07T13:30:59Z"
}
9 changes: 3 additions & 6 deletions src/main/webapp/search.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ for (String name : params.keySet()) {
$(function() {
//var query = window.location.href.slice(window.location.href.indexOf('?') + 1).split('@@');
var query = '<%= query %>';
$.get('/services/search/search?' + query, function(data) {
$('.output').html(data);
});
$.get('/services/search/search?qt=archive-filter&' + query, function(data) {
$('.output').html(data);
});
});
</script>

</head>
Expand Down Expand Up @@ -122,9 +122,6 @@ $(function() {
<!-- Added to contain search service output -->
<div class="output"></div>

<!-- Commented out for new search service functionality -->
<!-- jsp:include page="http://pdsbeta:8080/search-service/select/" / -->

<!-- InstanceEndEditable -->

<c:import url="/footer.html" context="/include" />
Expand Down

0 comments on commit 73584db

Please sign in to comment.