diff --git a/search/js/search.js b/search/js/search.js index f2ed58a8436..82d3c2c6691 100644 --- a/search/js/search.js +++ b/search/js/search.js @@ -83,6 +83,10 @@ var lastSize = 30; var lastResults = {}; + this.getLastQuery = function() { + return lastQuery; + }; + /** * Do a search query and display the results * @param {string} query the search query