Re: Find using multiple values with MOptions, posted by Neil Swartz on Tue Jan 18 03:37:40 2005
|
> > I have a logbook with an attribute that has a number of fixed values. I
> > use MOptions to prevent typos when entering and allow multiple "keywords".
> > When searching the users can only search on one keyword.
> > Is there any way to search on multiple values (AAA|BBB|CCC)? If I do not
> > use MOption, they can do this, but the users entering logs may mistype the
> > keywords.
>
> Even with Moptions, you can put into the "Text:" line
>
> (AAA|BBB|CCC)
>
> and click on "Search text also in attributes". This is a valid regular
> expression with searches for AAA or BBB or CCC. Unfortunately you still can
> mistype the values. If I would add check boxes in the find page, it would not
> be clear if one searches for an "AND" of several values or an "OR" (Most people
> would probably think that they want an "AND" because this happens if they
> restrict several attributes).
Yes, I can use the Text: search, but I still have the mistyping problem. (My
field values are like "ENA, ETB, HRES, etc.) -- Easy to have a typo.
Currently there is a dropdown when searching for MOption fields. Maybe you could
allow multiple selections in the dropdown. This to me is an "OR" search. |
Re: Find using multiple values with MOptions, posted by Stefan Ritt on Tue Jan 18 13:06:48 2005
|
> Currently there is a dropdown when searching for MOption fields. Maybe you could
> allow multiple selections in the dropdown. This to me is an "OR" search.
Multiple selections are not possible in HTML, only a single value can be selected at
a time. |
Re: increasing the height of the attribute display field, posted by Stefan Ritt on Thu Jan 20 17:40:33 2005
|
> Was wondering if it was possible to increase the height that the text box
> for an attribute is displayed as.
What you ask for is multi-line attributes. This is not implemented, but on the
wishlist since some time, where I added your vote.
Best regards,
Stefan |
Re: increasing the height of the attribute display field, posted by John Habermann on Thu Jan 20 23:59:19 2005
|
Sorry I didn't see the wishlist but I see what you mean. I have just found out
that pasting content that contains more than 1 line into an attribute field
crashes elog.
I have a play with the Preset text setting and see what I can come up with. By the
way there is a spelling mistake in the config.html page. In the Conditional
Attributes section you use the Preset text setting as an example but have spelt it
as "Prset text ="
Thank you for you help
John
> > Was wondering if it was possible to increase the height that the text box
> > for an attribute is displayed as.
>
> What you ask for is multi-line attributes. This is not implemented, but on the
> wishlist since some time, where I added your vote.
>
> Best regards,
>
> Stefan |
Re: increasing the height of the attribute display field, posted by Stefan Ritt on Fri Jan 21 10:43:21 2005
|
> I have a play with the Preset text setting and see what I can come up with. By the
> way there is a spelling mistake in the config.html page. In the Conditional
> Attributes section you use the Preset text setting as an example but have spelt it
> as "Prset text ="
Thanks, fixed. |
Re: Find using multiple values with MOptions, posted by Stefan Ritt on Fri Jan 21 23:30:35 2005
|
<SELECT NAME="lid" multiple size="5">
Oh, nice, I didn't know of that. However, I prefer to have multiple options to be selected
with individual check boxes, this saves more vertical window space. So I added that
functionality to the find page. If more than one option of a MOptions attribute are
selected, they are or'ed together during the search. You can try that in this forum with
the "OS" for example. |
Re: mirroring specific logbooks, posted by Stefan Ritt on Tue Jan 25 21:48:52 2005
|
> I was just wondering if it is possible to define what logbooks you want
> mirrored in the [Global] part of the elogd.conf file.
I added a new option
Mirror exclude = 1
which has to be put into the individual logbook section (not the [global] one).
The modification will be contained in the next release. |
Re: Automatic Export, posted by Stefan Ritt on Fri Jan 28 08:33:49 2005
|
> Is there any way to automatically export the logbook(s)?
Kind of. You can use "wget" under Linux (use cygwin under Windows to get wget
under Windows). Then issue a
wget "http://midas.psi.ch/elogs/forum/?cmd=Search&mode=xml"
and you will get an XML export. Same works with CSV export. If you put that
command in cron, you have this on an automatic basis. |