ServiceStack / Issues

Issue Tracker for the commercial versions of ServiceStack
11 stars 8 forks source link

AutoQuery filtering should respect CustomSelect #767

Closed AVee closed 2 years ago

AVee commented 2 years ago

Currently AutoQuery seems to only partially respect CustomSelect attributes. They are used in select statements and order by clauses but not when applying filters. For filtering to work as expected a CustomSelect should be used when building the where clause as well.

I'll create a PR with a potential fix and a test shortly.

mythz commented 2 years ago

The PR for this feature was much appreciated, thx 👍 https://github.com/ServiceStack/ServiceStack/pull/1254

AVee commented 2 years ago

Thanks, that will allow us to do some nifty UI stuff 😁