INTERACT FORUM

More => Old Versions => Media Center 16 (Development Ended) => Topic started by: kewe65 on July 28, 2011, 12:52:47 pm

Title: Custom Rule Syntax Help Requested
Post by: kewe65 on July 28, 2011, 12:52:47 pm

How do I use two rules with an "OR" operator so i can include, for instance where a person is both in the artist field and the band field?   When I customize a library view and add a rule, it does not have the AND/OR option for the query.

Thanks
Title: Re: Custom Rule Syntax Help Requested
Post by: MrC on July 28, 2011, 12:57:19 pm
http://yabb.jriver.com/interact/index.php?topic=46456.0 (http://yabb.jriver.com/interact/index.php?topic=46456.0)
http://yabb.jriver.com/interact/index.php?topic=64609.0 (http://yabb.jriver.com/interact/index.php?topic=64609.0)
Title: Re: Custom Rule Syntax Help Requested
Post by: kewe65 on July 28, 2011, 01:18:10 pm
Neither of those worked exactly.

In MC16, I had to wrap both rules as one group with double parens and each of the individual rules with single parens:

(( Artist - Contains - Miles Davis )
( Band - Contains - Miles Davis ))

Just using single parens around the 2nd rule did not work and actually when clicking okay and going back to the window, it only had a right bracket at the end of the 2nd rule

But, solved, so thanks.

Why is that hidden?  Can it be a button with the words that toggle as you click it?

Title: Re: Custom Rule Syntax Help Requested
Post by: MrC on July 28, 2011, 01:28:48 pm
I'm not sure what you mean.  See attached.

I'm not sure why the AND/OR operator UI elements are so hidden.  Probably the dev's just haven't worked out another UI for it.  UI development is time-sucking.