ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
2152
|
Fri Mar 2 09:40:28 2007 |
| Robert-Jan Schrijvers | Robert-Jan.Schrijvers@isoft.nl | Question | Windows | V2.6.3-176 | Re: Finding conditions in Search page. |
Stefan Ritt wrote: |
Robert-Jan Schrijvers wrote: | This is my question: when i use the "search/find" page and select the first drop down menu "Locatie", the next field "Sessies" will not be displayed (and all following fields either). On the other hand, when i create a new entry, it works perfect, select "Locatie", field "Sessies" displays his content and so on. I hope that someone can help me with this. |
This was never meant to work like that. On the find page, conditional attributes are not evaluated for following reason: Assume you want to search for Orgus = ZGN. Currently you simply type ZGN in the Orgus field and you're done. With drop down lists, you first would have to select Locatie = extern, then Sessies = Risc/Bus/Sms Pro, and only then you could select Orgus = ZGN. That would require three steps. Technically it's however possible to implement what you want, but I would wait until more people request this. |
Hi Stefan,
tnx for the quick reply/feedback, i'm just a newbee in eLog, but working with it is a nice challenge and gives much pleasure for me and my colleagues. Tnx again and have a nice weekend! |
899
|
Tue Feb 1 14:44:00 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | All | 2.5.5-2 | Re: Finding Last Changed Entries |
> Is there an inbuilt way to find the last entries changed in an elog?
>
> I could add a "Last Mod" attribute and then config "Subst on edit Last Mod =
> $date", but it occurred to me that this functionality might already be in
> this wonderful tool somewhere, but I just haven't found it yet.
>
> So, is it?
No it isn't. Not everybody wants it. So you have to do it in the way you
outlined it. Also have a look at http://midas.psi.ch/elog/faq.html#11
- Stefan |
882
|
Mon Jan 17 16:51:35 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | All | 2.5.5 | Re: Find using multiple values with MOptions |
> 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). |
884
|
Tue Jan 18 03:37:40 2005 |
| Neil Swartz | neilswartz@verizon.net | Question | All | 2.5.5 | Re: Find using multiple values with MOptions |
> > 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. |
885
|
Tue Jan 18 13:06:48 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | All | 2.5.5 | Re: Find using multiple values with MOptions |
> 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. |
886
|
Wed Jan 19 04:33:00 2005 |
| Neil Swartz | neilswartz@verizon.net | Info | All | 2.5.5 | Re: Find using multiple values with MOptions |
> > 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.
Try: (From monster.com)
<SELECT NAME="lid" multiple size="5">
<OPTION VALUE=""> ------- Select all -------- </OPTION>
<OPTION VALUE="323">Alabama-Anniston</OPTION>
<OPTION VALUE="324">Alabama-Birmingham</OPTION>
<OPTION VALUE="325">Alabama-Mobile/Dothan</OPTION>
<OPTION VALUE="328">Alabama-Montgomery</OPTION>
...
</SELECT>
Although this may not be supported in all browsers. (I think recent versions of
Netscape and IE support it) |
891
|
Fri Jan 21 23:30:35 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Info | All | 2.5.5 | Re: Find using multiple values with MOptions |
<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. |
66255
|
Wed Mar 18 04:37:19 2009 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 2.7.5-2130 | Re: Find usage |
Mike Forster wrote: |
Hello Stefan and Elog fans,
Is there a way to find entries with the words program and error when then are not contiguous in the text?
Thanks,
--Mike
|
Please have a look at
https://midas.psi.ch/elogs/Forum/66151
does this help? |