- Refactor filter service for better readability and maintenance - Add validations for the following: - If an invalid attribute is passed, a custom exception InvalidAttribute will be thrown. - If an invalid operator is passed, a custom exception InvalidOperator will be thrown. - If an invalid value (currently checking only null check), a custom exception InvalidValue will be thrown. Fixes: https://linear.app/chatwoot/issue/CW-2702/activerecordstatementinvalid-pginvalidtextrepresentation-error-invalid Fixes: https://linear.app/chatwoot/issue/CW-2703/activerecordstatementinvalid-pginvaliddatetimeformat-error-invalid Fixes: https://linear.app/chatwoot/issue/CW-2700/activerecordstatementinvalid-pgsyntaxerror-error-syntax-error-at-or Co-authored-by: Sojan <sojan@pepalo.com> |
||
|---|---|---|
| .. | ||
| api | ||
| super_admin | ||
| application_helper.rb | ||
| billing_helper.rb | ||
| cache_keys_helper.rb | ||
| contact_helper.rb | ||
| date_range_helper.rb | ||
| email_helper.rb | ||
| file_type_helper.rb | ||
| filter_helper.rb | ||
| frontend_urls_helper.rb | ||
| home_helper.rb | ||
| message_format_helper.rb | ||
| portal_helper.rb | ||
| report_helper.rb | ||
| reporting_event_helper.rb | ||
| widget_helper.rb | ||