mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
- make suggested query search for 'this week' rather than all time.
This commit is contained in:
parent
80be042c24
commit
46305a05c5
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@
|
|||
last
|
||||
- if @hits.length == 0
|
||||
- if !params[:q]
|
||||
%h3#querystatus No query given. How about <a href="?q=*" class="querychanger">this?</a>
|
||||
%h3#querystatus No query given. How about <a href="?q=* @timestamp:[#{(Time.now + 24*60*60).strftime("%Y-%m-%d")} TO #{(Time.now - 7*24*60*60).strftime("%Y-%m-%d")}]" class="querychanger">this?</a>
|
||||
- else
|
||||
%h3#querystatus No results for query '#{params[:q]}'
|
||||
- else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue