If a parameter affects the results, it should be included in the criteria.
If it should not be used by the SQLDataSource in the generated SQL, you can set customSQL="true" on the field in the .ds.xml.
If it should not be used by the SQLDataSource in the generated SQL, you can set customSQL="true" on the field in the .ds.xml.
Comment