diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-12-19 16:39:49 +0100 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2015-01-02 10:28:41 +0100 |
commit | 63f86340429b34039abebe12efe87c45d30cc3a0 (patch) | |
tree | 63baa18d19e33fa8fd1aaf088cfb65e3f57a3327 | |
parent | a8edb2124d24018f95733c88d840ff9a0708f3d0 (diff) | |
download | nextcloud-server-63f86340429b34039abebe12efe87c45d30cc3a0.tar.gz nextcloud-server-63f86340429b34039abebe12efe87c45d30cc3a0.zip |
allow getting the last query
-rw-r--r-- | search/js/search.js | 4 |
1 files changed, 4 insertions, 0 deletions
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 |