Closed GoogleCodeExporter closed 8 years ago
This can be solved with the orderby query modifier like:
orderby:timestamp orderby_dir:desc
I will get this into the documentation.
Original comment by mchol...@gmail.com
on 7 Mar 2013 at 5:07
Any chance that i can set this as the default when doing a search? So i dont
have to type in "orderby"
Original comment by jacobrav...@gmail.com
on 10 Mar 2013 at 10:29
Sure, I've added code to do this, but it won't go in until a commit with some
other code, so it'll be a day or two before it's in. The setting is documented
already (use "default_settings" and "orderby_dir" as "DESC").
Original comment by mchol...@gmail.com
on 11 Mar 2013 at 2:23
Sorry, but could you be a bit more specific on where this setting should be
written? Is it in the elsa_web.conf ?
Original comment by jacobrav...@gmail.com
on 11 Mar 2013 at 9:50
Ah, sure. It's in the "Preferences" menu which is in the upper-left-hand
corner of the screen under the big "ELSA" menu.
On Mon, Mar 11, 2013 at 4:50 AM, <
enterprise-log-search-and-archive@googlecode.com> wrote:
Original comment by mchol...@gmail.com
on 11 Mar 2013 at 3:02
I added this to preferences, but it still does not show latest log entry's first
Type Name Value
default_settings orderby_dir DESC
Original comment by jacobrav...@gmail.com
on 13 Mar 2013 at 6:08
Right, that code hasn't been committed yet. Should be within a few days.
I'll close this ticket when I commit the code so you'll know. Now that
you've got the preference added, when I commit the code and you run
installer.sh web update, it should just work.
On Wed, Mar 13, 2013 at 1:08 PM, <
enterprise-log-search-and-archive@googlecode.com> wrote:
Original comment by mchol...@gmail.com
on 13 Mar 2013 at 6:59
New installation rev 738
I still can only get it to work if i include "orderby:timestamp
orderby_dir:desc" in the search string. Why not make this setting an option
setting in elsa_web.conf like "default_start_time_offset" is?
Original comment by jacobrav...@gmail.com
on 27 Mar 2013 at 11:09
I can probably make it a config variable, but this should work. Are you
logging in, or are you not using a username/password? If you don't login, then
a user preference wouldn't work.
Original comment by mchol...@gmail.com
on 28 Mar 2013 at 5:57
I've added default_sort_descending as an option to elsa_web.conf. Set it to 1
to have ELSA default to descending order.
Original comment by mchol...@gmail.com
on 20 Nov 2013 at 10:10
Original issue reported on code.google.com by
jacobrav...@gmail.com
on 6 Mar 2013 at 9:38