Author Topic: Yet another n00b filter question  (Read 4309 times)

Bgoulette

  • Sr. Member
  • ****
  • Posts: 116
  • I wrote a book.
    • View Profile
    • BlakeGoulette.com
Yet another n00b filter question
« on: August 13, 2015, 09:56:45 PM »
Hey all,

I'm curious to learn if there's a way to filter based on, say, games released before or after a certain year. Basic greater than/less than comparators. But I'm not sure how (if?) they might be implemented in the filters. I have other filters working, but not sure what to do for this (assuming it's even possible)! If there is a way to do this, I'd also use it in games that can be either 1 or more (e.g., 1, 2, 3, 4) players, etc. Anyway, thanks!

akafox

  • Hero Member
  • *****
  • Posts: 985
    • View Profile
Re: Yet another n00b filter question
« Reply #1 on: August 14, 2015, 12:27:29 PM »
Yes you can. You can filter within a filter. Say Figthing games...but only street fighter.
Or say shooters but only the one made in '83 '87.

For the second example :
You filter by category .. equals Shooter / Flying Vertical
then within  the same category rule you add a second rule:
filter by year equals 1983
then still in the first filter rule set filter again
year equals 1987

People want life easy..then complain about it

Bgoulette

  • Sr. Member
  • ****
  • Posts: 116
  • I wrote a book.
    • View Profile
    • BlakeGoulette.com
Re: Yet another n00b filter question
« Reply #2 on: August 14, 2015, 12:30:33 PM »
Thanks for the response. I was afraid it might be something like that :( I was hoping there was a one-line (rule) approach, but assuming we're doing regex under the hood, it makes sense that math operators wouldn't work. All right, thanks again!

tomek

  • Full Member
  • ***
  • Posts: 29
    • View Profile
    • About Me
Re: Yet another n00b filter question
« Reply #3 on: August 14, 2015, 03:51:43 PM »
It's really not that bad, really. Think of the filters as progressive refinement the it will make more sense. Each filter line can use the OR operator "|".


You can always pre-filter your list before it even gets to AM. See my other post if you're interested in this approach:


http://forum.attractmode.org/index.php?topic=315.msg2256#msg2256


cheers,
-tomek