Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Filter on Options, posted by Cossutta L on Thu Feb 24 11:47:07 2011 1.JPG2.JPG3.JPG
    icon2.gif   Re: Filter on Options, posted by Stefan Ritt on Thu Feb 24 11:54:18 2011 
       icon2.gif   Re: Filter on Options, posted by Cossutta L on Fri Feb 25 15:01:12 2011 
Message ID: 67021     Entry time: Thu Feb 24 11:54:18 2011     In reply to: 67020     Reply to this: 67022
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Question  OS: Linux  ELOG Version: 2.8.1-2350 
Subject: Re: Filter on Options 

Cossutta L wrote:

I want to implement the following feature in my logbook:
selecting an Option related to a specific Attribute produces a filter on the Options related to the other Attributes.

-----
Example:
I have the following configuration:
" Attributes = Project, Category
Options Project = Agenda, Software
Options Category = General, Data, Result, Meeting, Status, TODO, DONE,
Reminder, Result, Other
...
Quick filter = Project, Category "

I want that: if on the Quick filter I select "Project = Agenda", then the entry "Category" displays only the Options "Meeting, Status, TODO, DONE, Reminder, Other"; if on the Quick filter I select "Project = Software", then the entry "Category" displays only the Options "General, Data, Result, Other".
See the attached JPGs (they are edited printscreens from my logbook).

------


Is there a way to do this?

Thank you in advance!
Cossutta

That's possible with conditional attributes:

Attributes = Project, Category
Options Project = Agenda{1}, Software{2}
{1}Options Category = Meeting, Status, TODO, DONE, Reminder, Other
{2}Options Category = General, Data, Result, Other
Quick Filter = Project, Category 

ELOG V3.1.5-3fb85fa6