INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Custom Rule Syntax Help Requested  (Read 896 times)

kewe65

  • World Citizen
  • ***
  • Posts: 179
Custom Rule Syntax Help Requested
« 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
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Logged
The opinions I express represent my own folly.

kewe65

  • World Citizen
  • ***
  • Posts: 179
Re: Custom Rule Syntax Help Requested
« Reply #2 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?

Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Custom Rule Syntax Help Requested
« Reply #3 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.
Logged
The opinions I express represent my own folly.
Pages: [1]   Go Up