ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
66503
|
Mon Aug 10 17:14:48 2009 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | All | 2.7.6 | Re: alphabetize Quick Filter items? |
Dennis Seitz wrote: |
Stefan Ritt wrote: |
Dennis Seitz wrote: |
Hi Stefan,
I'd like to request a feature: automatic alphabetization of the items in the Quick Filter menus.
We track quite a few detector assemblies, which are produced with non-sequential designations. It would be useful if the Quick Filter list was automatically sorted alphabetically to make it more convenient for folks to find a particular item.
I know people can always search by designation but it would be handy to have this alpha sorting feature. Would it be possible to include that in a future release?
Thanks again for a *very* useful logging system!
Dennis
|
The order of items in a Quick Filter menu is exactly as in the configuration file. Like if you have items
Options Type = C, D, A, B
they are shown like that in the quick filter menu. If you want to sort them, just do the sorting yourself in the configuration file like
Options Type = A, B, C, D
I have not implemented automatic sorting since some people want a different order, like some main topics at top. So by following the order from the configuration file, everybody can be satisfied just by chaning the order in the config file.
- Stefan
|
Yes, I have been manually sorting and resorting. We have extendable attributes and the list keeps growing so I have to resort every so often. I thought perhaps a simple alphanumeric sort as an option would be popular with most users so I thought I'd ask for it. It would really simplify things for me. Users who want to sort manually could do so by disabling the option. It never hurts to ask!
|
Ok, I implemented
Sort attribute options = 1
in the current SVN revision. |
66505
|
Mon Aug 10 21:19:50 2009 |
| David Pilgram | David.Pilgram@epost.org.uk | Comment | Linux | 2.7.7-2251 | Re: Comment on: Alphabetize Quick Option filter | I've just noticed that it has also sorted another Option, which are selected as radio buttons. Again, this is a
list which has a natural - again, in this case, chronological - order.
Because of this, I'm going to have to turn off this feature as it is on my system. I hope something can be sorted
on this.
> (For some reason I could not add this in Dennis's thread.)
>
> I like this new feature, BUT
>
> I happen to have two Options: Options System, and Options Status.
>
> System are a very few items, whereas Status has a long list, which, like Dennis's example, can be added to.
> Keeping the latter in alpha order is great, but it's a shame that the cost is that Options System are also
> sorted alphabetically, whereas it has a natural order which it would be preferable to keep - for example (and
> this is made up)
>
> Options System: 3.1, NT, 2000, XP, Vista
>
> where the natural order here is chronological.
>
> Perhaps the configuration file option could be more specific, for example
>
> Sort attribute Options Status = 1
>
> which would then NOT sort Options System. If both are needed to be sorted, both should be specified, or back to
> the original syntax which defaults to sort *all* Options. |
66508
|
Tue Aug 11 08:29:23 2009 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.6.5 | Re: Logbook Parser |
Alan Grant wrote: |
We are exploring whether it's possible/feasible to import ELog logbooks into a another database for special purposes (plotting/statisical, etc). Target database is TBD (perhaps Access).
Does anyone have or know of a logbook parser program? From cut/pasting into, for example, Excel, it does appear that the data fields are already line-feed delimited so offhand it would seem possible to parse if one really wanted to pursue it.
Regards,
- Alan
|
You can export to CSV (comma-separated-values) if you go to "Find" and then click on "Export: CSV". These fiels you ran read right into Excel or other spreadsheet programs for further analysis. |
66509
|
Tue Aug 11 08:33:32 2009 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | Windows | 2.6.5 | Re: List Option |
Alan Grant wrote: |
Currently this is defined as a maximum of 100 literals in the cfg file. I would like to see the option to reference an external text file as input for this.
|
I will put this on the wish list.
Alan Grant wrote: |
As a side question, I would also like to increase the max to a greater value, for example, even 5000. I assume I can change the source (I recall var was something like "List_Option_Max") and see if that would still work, but would you know offhand if that would cause a problem anywhere else?
|
I limited this to 100 entries because it will be hard to handle it. Imagine a drop-down list box with 5000 entries. It would fill your complete screen and you still won't see all 5000 entries. In that case it might be better to use a free text field and enter the attribute value as free text.
You can increase MAX_N_LIST in elogd.c, but at some point you will get a stack overflow and elogd will just crash.
- Stefan
|
66510
|
Tue Aug 11 08:38:56 2009 |
| Stefan Ritt | stefan.ritt@psi.ch | Comment | Linux | 2.7.7-2251 | Re: Comment on: Alphabetize Quick Option filter | Ok, that makes sense, so I changed it to
Sort Attribute Options Status = 1
as you suggested.
> (For some reason I could not add this in Dennis's thread.)
>
> I like this new feature, BUT
>
> I happen to have two Options: Options System, and Options Status.
>
> System are a very few items, whereas Status has a long list, which, like Dennis's example, can be added to.
> Keeping the latter in alpha order is great, but it's a shame that the cost is that Options System are also
> sorted alphabetically, whereas it has a natural order which it would be preferable to keep - for example (and
> this is made up)
>
> Options System: 3.1, NT, 2000, XP, Vista
>
> where the natural order here is chronological.
>
> Perhaps the configuration file option could be more specific, for example
>
> Sort attribute Options Status = 1
>
> which would then NOT sort Options System. If both are needed to be sorted, both should be specified, or back to
> the original syntax which defaults to sort *all* Options. |
66511
|
Tue Aug 11 10:07:08 2009 |
| David Pilgram | David.Pilgram@epost.org.uk | Comment | Linux | 2.7.7-2251 | Re: Comment on: Alphabetize Quick Option filter | Thanks Stefan! Works great.
> Ok, that makes sense, so I changed it to
>
> Sort Attribute Options Status = 1
>
> as you suggested.
>
> > (For some reason I could not add this in Dennis's thread.)
> >
> > I like this new feature, BUT
> >
> > I happen to have two Options: Options System, and Options Status.
> >
> > System are a very few items, whereas Status has a long list, which, like Dennis's example, can be added to.
> > Keeping the latter in alpha order is great, but it's a shame that the cost is that Options System are also
> > sorted alphabetically, whereas it has a natural order which it would be preferable to keep - for example (and
> > this is made up)
> >
> > Options System: 3.1, NT, 2000, XP, Vista
> >
> > where the natural order here is chronological.
> >
> > Perhaps the configuration file option could be more specific, for example
> >
> > Sort attribute Options Status = 1
> >
> > which would then NOT sort Options System. If both are needed to be sorted, both should be specified, or back to
> > the original syntax which defaults to sort *all* Options. |
66513
|
Tue Aug 11 13:25:48 2009 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.6.5 | Re: Logbook Parser |
Steve Williamson wrote: |
excuse my butting in ... I've found the exports useful in the past - however, is is possible to run the export from a script in order to produce reports? Utilities like wget won't work as the export process doesn't return the data as html.
|
That's not true. wget does work. Try that one:
wget --no-check-certificate -O export.csv https://midas.psi.ch/elogs/linux+demo/?mode=CSV1
actaully wget doesn't care if the return is HTML or a GIF image or anything else, it just saves it into the output file. |
66515
|
Tue Aug 11 17:46:33 2009 |
| Dennis Seitz | dseitz@berkeley.edu | Comment | Linux | 2.7.7-2251 | Re: Comment on: Alphabetize Quick Option filter | Yes, many thanks, Stefan, from me, too! It's really great that you respond so quickly to requests and suggestions.
And thanks to David for the fine tuning, great suggestion.
Dennis
> Thanks Stefan! Works great.
>
> > Ok, that makes sense, so I changed it to
> >
> > Sort Attribute Options Status = 1
> >
> > as you suggested.
> >
> > > (For some reason I could not add this in Dennis's thread.)
> > >
> > > I like this new feature, BUT
> > >
> > > I happen to have two Options: Options System, and Options Status.
> > >
> > > System are a very few items, whereas Status has a long list, which, like Dennis's example, can be added to.
> > > Keeping the latter in alpha order is great, but it's a shame that the cost is that Options System are also
> > > sorted alphabetically, whereas it has a natural order which it would be preferable to keep - for example (and
> > > this is made up)
> > >
> > > Options System: 3.1, NT, 2000, XP, Vista
> > >
> > > where the natural order here is chronological.
> > >
> > > Perhaps the configuration file option could be more specific, for example
> > >
> > > Sort attribute Options Status = 1
> > >
> > > which would then NOT sort Options System. If both are needed to be sorted, both should be specified, or back to
> > > the original syntax which defaults to sort *all* Options. |
|