Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon1.gif   Configure default time range in 'Find', posted by Eoin Butler on Fri Jan 16 13:41:18 2015 
    icon2.gif   Re: Configure default time range in 'Find', posted by Stefan Ritt on Fri Jan 16 14:29:58 2015 
       icon2.gif   Re: Configure default time range in 'Find', posted by Eoin Butler on Mon Jan 19 11:09:31 2015 
          icon3.gif   Re: Configure default time range in 'Find', posted by David Pilgram on Mon Jan 19 17:17:32 2015 
             icon4.gif   Re: Configure default time range in 'Find', posted by David Pilgram on Tue Jan 20 00:58:58 2015 
                icon2.gif   Re: Configure default time range in 'Find', posted by Stefan Ritt on Thu Jan 22 16:30:07 2015 
                   icon2.gif   Re: Configure default time range in 'Find', posted by Eoin Butler on Thu Jan 22 17:04:03 2015 
                   icon2.gif   Re: Configure default time range in 'Find', posted by David Pilgram on Thu Jan 22 17:32:16 2015 
                   icon2.gif   Re: Configure default time range in 'Find', posted by David Pilgram on Sun Mar 15 16:41:49 2015 
                      icon2.gif   Re: Configure default time range in 'Find', posted by David Pilgram on Sun Mar 15 17:53:44 2015 
                      icon5.gif   Re: Configure default time range in 'Find', posted by Andreas Luedeke on Mon Mar 16 07:16:56 2015 
                         icon2.gif   Re: Configure default time range in 'Find', posted by David Pilgram on Mon Mar 16 13:51:11 2015 
                            icon2.gif   Re: Configure default time range in 'Find', posted by Andreas Luedeke on Tue Mar 17 07:04:44 2015 
                               icon2.gif   Re: Configure default time range in 'Find', posted by Stefan Ritt on Tue Mar 24 15:49:28 2015 
Message ID: 67756     Entry time: Tue Jan 20 00:58:58 2015     In reply to: 67755     Reply to this: 67759
Icon: Warning  Author: David Pilgram  Author Email: David.Pilgram@epost.org.uk 
Category: Request  OS: All  ELOG Version:
Subject: Re: Configure default time range in 'Find' 

It has just occurred to me that you may also have to check the non-English files, (./resorces/eloglang_xxxx) as this change introduces a new term "All time" that would need translation into the other lexicons.

 

By the way, in further testing, the "Show last" selection over-rides whatever two dates are selected, so if you ask for any entry in Dec 2014, but the "Show last" selects "week", nothing is found - very quickly.  I trust that is what you're after, Eoin.  I'll keep my change to the coding, but that's personal choice.

David.

David Pilgram wrote:

Hi there, In the "Find" page, I changed the default of the "Show last" drop down box in the Entry Date section from the (unstated) "All time" to "Day", and added back in an "All Time" option at the very bottom.  This gives a default of searching the last day, and one has to think and select the period of time to search back on.

I did this on my 2.9.2-2475 version, recompiled and it works.  Two lines of code changed and even my cr*ppy coding was up to the task.  I don't know if Stefan would want to put this into the Master copy (I'll forward the changes if you want Stefan, but it's pretty easy if I can do it), but if you can edit and recompile (Eoin) I can tell you which to lines for immediate functionality.  Back up everything first, though!

Eoin Butler wrote:

Yes, this works, but users inevitably forget to select "last week" or whatever, and just leave it blank, which means their search unintentionally takes a long time. It would be much better if one could configure it to default to something "fast".

Stefan Ritt wrote:

Have you tried in the "Find" page to set a start date, or select "Show last: Month". This shoudl speed up searching quit a bit.

 

 

ELOG V3.1.5-3fb85fa6