Mo

I think I am having a severe brain fart today!

Mo

I am trying to get based on a quantity via the orm, filter looks like:

  1. MyObject::get()->filter([
  2. 'MinQTY:GreaterThanOrEqual' => 6,
  3. 'MaxQTY:LessThanOrEqual' => 6
  4. ]);
Mo

Any chance anyone can see if there is something stupid I am doing? I have two objects:

  1. MyObject:
  2. one:
  3. MinQTY: 5
  4. MaxQTY: 9
  5. two:
  6. MinQTY: 10
  7. MaxQTY: 14
Mo

The only thing I remember about SS2 was that KickAssets was a thing