Browse Source

Merge pull request #18751 from abpframework/salihozkara/fixDocsSearch

Fix search problem
pull/18752/head
Engincan VESKE 2 years ago
committed by GitHub
parent
commit
c05fb68db5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/index.js

5
modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/index.js

@ -74,7 +74,10 @@
});
function fullSearch(filterText){
window.open($('#fullsearch').data('fullsearch-url') + "?keyword=" + encodeURIComponent(filterText));
var url = $('#fullsearch').data('fullsearch-url');
if(url){
window.open(url + "?keyword=" + encodeURIComponent(filterText));
}
}
$('#fullsearch').keyup(function (e) {

Loading…
Cancel
Save