Author Topic: Between filter not passing back both values MVC  (Read 2476 times)

youngfitz

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 26
    • View Profile
Between filter not passing back both values MVC
« on: October 11, 2018, 04:23:17 pm »
Hi,

In MVC, when you select the between filter, it is only passing back one value and not both.

From the example https://paramquery.com/pro/demos/filter_header - i see in the PHP example code, there is between syntax but there is no "between" filter in the MVC example (there is a few missing - gte,lte).

I see this example between works but I am not sure what underlining example code is been used - PHP or MVC.

Could you let me know if I am misunderstanding something here?

Thanks,


youngfitz

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: Between filter not passing back both values MVC
« Reply #1 on: October 12, 2018, 02:38:34 pm »
Hi,

There is no bug here so you can close this.

The confusion was with the MVC example I used as reference(https://paramquery.com/pro/demos/filter_header) which does not have the between filter example included and hence the property value2 defined in the filter struct to populate when Deserializing the filter object.

I missed the value existing when initially debugging it.

Thanks