INTERACT FORUM

Please login or register.

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

Author Topic: Expression question - Categories v Theater View behavior  (Read 1138 times)

Shike

  • Junior Woodchuck
  • **
  • Posts: 57
Expression question - Categories v Theater View behavior
« on: June 04, 2016, 03:42:29 pm »

Greetings,

I'm using a view expressions to have my TV series display a certain way, but noticed Theater View behaved a bit different.  I want categories to behave closer to theater view using the same expressions.
Categories order (each new line is a new expression save the last field:

if(!isempty([Story]),[story],[series])
if(isempty([story]),if(!isempty([Extra]),Extras,Series),[series])
if(isempty([story]),[name],if(!isempty([Extra]),Extras,Series))
If(!isempty([Arc]),ifElse(!isempty([Extra]),Arc [arc] Extras,isempty([Extra]),Arc [arc]),[name])
Field: Name


(custom fields in use: Extra (check/boolean), Arc (integer), Story (String))

The line in red is the one acting different.  In Theater view, when I hit this expression if no files with the Extra field are found it immediately proceeds with the next expression - no need to click series.  In comparison with category view it does require an additional press.  So an example:

In Category:
In Story Gurren Lagann (Has both Gurren Lagann and Parallel Works)
Select Parallel Works (the series)
Series Displays as a group - there are no extras
Click series group
Names (files) display

 
In Theater:
Gurren Lagann (contains Gurren Lagann and Parrelel Works)
Select Parrelel Works
Names (Files) display

The "Series" section gets bypassed as there are no extras automatically, category view doesn't do this.


So the question is whether there's a way to get category view to behave like theater or if there's a way to skip to name when field [Extra] is missing from all applicable files (Parallel Works has now extras)
Logged
Pages: [1]   Go Up