INTERACT FORUM

Please login or register.

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

Author Topic: How to look for nested group in smartlist?  (Read 4728 times)

lise

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 946
How to look for nested group in smartlist?
« on: January 13, 2009, 11:12:09 am »

I have People as follows:

Family
  mom
  dad
Friends
  Jim
  Pat

How can I create a smartlist that includes all 'Family' short of selecting each one in the list of People?
Logged
A wise man once said don't count your years, but make your years count. Or was it beers?

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Re: How to look for nested group in smartlist?
« Reply #1 on: January 13, 2009, 12:04:46 pm »

i have no 12 available at this moment. but could you make the rule people>contains>family ?
it is something that does not work in mc13, 'contains' is not an option anymore. one thing i do is making a calculated field with 'keywords' (in your case 'people') and use 'contains' on that field..

 :)
gab
Logged

lise

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 946
Re: How to look for nested group in smartlist?
« Reply #2 on: January 13, 2009, 12:54:57 pm »

Thanks gappie.  I couldn't get people>contains>family to work.

And while your second solution might work, I'm not tempted to create more fields just to search my existing fields. I've just spent alot of time getting rid of fields.

JRiver folks... will there be some way to include the root of a nested field as a search term in a smartlist? If not, I'm going to undo all the nesting I just did.
Logged
A wise man once said don't count your years, but make your years count. Or was it beers?

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42376
  • Shoes gone again!
Re: How to look for nested group in smartlist?
« Reply #3 on: January 13, 2009, 01:54:47 pm »

This works, although I don't know if the Smartlist Editor will like it:
[People]=[Family],[Family\"

(means include Family and anything that starts with Family\; it could be abbreviated [People]=[Family" but this will break if you also have "Family2" defined)
Logged
Matt Ashland, JRiver Media Center

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9140
Re: How to look for nested group in smartlist?
« Reply #4 on: January 13, 2009, 02:16:57 pm »

I've had problems with list fields and the smartlist editor in my bug report for some time now..
The problem is that if you try to use 'contains' the editor changes the search to 'is'...

the editor will change [people]=family to [people]=[family]

The work around is to use an expression based search:

[=isequal([people],family,8)]=1

-marko.

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Re: How to look for nested group in smartlist?
« Reply #5 on: January 13, 2009, 05:20:52 pm »

the funny thing is that if you choose custom and put there
[people]=family
it will work. until you open the smartlisteditor again, that is.
Logged

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Re: How to look for nested group in smartlist?
« Reply #6 on: January 13, 2009, 05:32:05 pm »

I'm going to undo all the nesting I just did.
well.. that is actually what im doing now with my picture tags, for people and events. i think that nesting is more frustrating in the end when the first step is just to put some items together that are the main goal (sorry, i have a bit problems explaining this wel.. but like family>bob, where it is all about bob, in my case), there are some tools missing to get something more out of it. it does make sence for me to use it in places, england>london>bigben. finding england 2009 is what i mosty am after. the rest is just extra info for when i need it. so more like specifiing the first step, which is the most important info... makes also more sense in panes and thumbviews

 :)
gab
Logged

hit_ny

  • Citizen of the Universe
  • *****
  • Posts: 3310
  • nothing more to say...
Re: How to look for nested group in smartlist?
« Reply #7 on: January 17, 2009, 12:58:58 pm »

How can I create a smartlist that includes all 'Family' short of selecting each one in the list of People?

[people]="Family"
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9140
Re: How to look for nested group in smartlist?
« Reply #8 on: January 17, 2009, 02:22:15 pm »

hit_ny, the problem with that, is that the smartlist editor insists upon changing [people]="family" to [people]=[family] which is something completely different entirely.

Currently, the only reliable method is to use the expression rule: [=isequal([people],family,8)]=1

-marko

hit_ny

  • Citizen of the Universe
  • *****
  • Posts: 3310
  • nothing more to say...
Re: How to look for nested group in smartlist?
« Reply #9 on: January 18, 2009, 07:39:58 am »

Thx marko did not notice this as i was only using the search box.
Logged

lise

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 946
Re: How to look for nested group in smartlist?
« Reply #10 on: January 18, 2009, 02:12:01 pm »

Thanks marko. That does the trick.
But now I'm finding that just typing "Andrea" in the search field yields no results: seems like I have to first expand the various nested items under People in the pane to get results.  So, no nesting for me until it becomes a bit simpler to deal with.
Logged
A wise man once said don't count your years, but make your years count. Or was it beers?

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Re: How to look for nested group in smartlist?
« Reply #11 on: January 18, 2009, 04:31:46 pm »

Thanks marko. That does the trick.
But now I'm finding that just typing "Andrea" in the search field yields no results: seems like I have to first expand the various nested items under People in the pane to get results.  So, no nesting for me until it becomes a bit simpler to deal with.
actualy this is one of the main improvements in 13 for me. the search in standard view is really nice and finds all those nested and not nested keywords, people etc..

Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9140
Re: How to look for nested group in smartlist?
« Reply #12 on: January 19, 2009, 01:04:17 am »

FWIW, I'm seeing the same as lise in v13.

Before a search will return items in a collapsed branch, that branch must have been opened at least once, otherwise they are not searched.
I have it on my bug list.

I'm talking about the search field given for panes in 'drop down' pane mode.

-marko

hit_ny

  • Citizen of the Universe
  • *****
  • Posts: 3310
  • nothing more to say...
Re: How to look for nested group in smartlist?
« Reply #13 on: January 21, 2009, 01:42:50 pm »

I'm finding that just typing "Andrea" in the search field yields no results: seems like I have to first expand the various nested items under People in the pane to get results.  So, no nesting for me until it becomes a bit simpler to deal with.

Hmm, i repeated that test with a nested field and it does find the nested item in a pane but MC does not expand the nest. Can't recall if that particular item had been opened at least once. Repeated with a few more items and all showed up.

Is there a bug here ?
Logged

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Re: How to look for nested group in smartlist?
« Reply #14 on: January 21, 2009, 03:44:17 pm »

Hmm, i repeated that test with a nested field and it does find the nested item in a pane but MC does not expand the nest. Can't recall if that particular item had been opened at least once. Repeated with a few more items and all showed up.

Is there a bug here ?
that is what i saw also.. was wondering if there are two different searches involved. i cant reproduce it neither using the search in the upper right corner. but i can reproduce it using the ctrl+Q  search.
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9140
Re: How to look for nested group in smartlist?
« Reply #15 on: January 22, 2009, 12:29:50 am »

that is what i saw also.. was wondering if there are two different searches involved.

Before a search will return items in a collapsed branch, that branch must have been opened at least once, otherwise they are not searched.
I have it on my bug list.

I'm talking about the search field given for panes in 'drop down' pane mode.

-marko

hit_ny

  • Citizen of the Universe
  • *****
  • Posts: 3310
  • nothing more to say...
Re: How to look for nested group in smartlist?
« Reply #16 on: January 22, 2009, 01:38:10 pm »

It would appear the operative term here is panes in "drop down mode"
Logged
Pages: [1]   Go Up