INTERACT FORUM

More => Old Versions => JRiver Media Center 20 for Windows => Topic started by: raldo on September 16, 2015, 02:44:06 am

Title: Is this view sorting scheme possible?
Post by: raldo on September 16, 2015, 02:44:06 am
I have a two level view scheme. The top level expression displays as [Year] [.Season] [Event] where season is "Spring", "Summer",etc. based on the file date. [EDIT]

I'd like to sort the top level by the individual file dates.

As an example, imagine you have an event which runs from late August into early September. I've defined August as a summer month and September as a fall month. But currently, I can only get the top level to sort by the top level. In other words, it would look something like this:

2015 Fall Vacation
[..other..]
[..other..]
[..other..]
2015 Spring Some Other Event
[..other..]
2015 Summer Vacation
[..other..]

Whereas I would like it to look like this:
[..other..]
[..other..]
[..other..]
2015 Spring Some Other Event
[..other..]
[..other..]
2015 Summer Vacation
2015 Fall Vacation
[..other..]

Does this make sense?

Title: Re: Is this view sorting scheme possible?
Post by: ferday on September 16, 2015, 08:37:04 am
Could you make a new field [season#] where ifelse(isequal([.season],spring),1......) to give the seasons a numerical value and then sort on that field?

Alternatively you could change your [.season] expression to the above and then display it as ifelse(isequal([.season],1),Spring....)

Not sure how either might work for you if at all, just pondering
Title: Re: Is this view sorting scheme possible?
Post by: raldo on September 22, 2015, 02:57:02 am
Could you make a new field [season#] where ifelse(isequal([.season],spring),1......) to give the seasons a numerical value and then sort on that field?
[...]

This would only sort after season order. This is nice, but not exactly what I was looking for.

I'd like the toplevel items to be sorted according to the underlying file dates so that the toplevel items are ordered according to when the photos were taken.
Title: Re: Is this view sorting scheme possible?
Post by: ferday on September 23, 2015, 11:08:42 am
I'm thinking though, add it to your current sorting level

[year] [season#] [event]...

It should produce the same results as what you have now, except that the seasons would now effectively be 1spring 2summer 3fall 4winter which should sort them correctly within your current scheme....

unless I misunderstand it seems that your only real issue is that fall is alphabetically first...?