Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

How to apply universal formatter to a AjaxDatatablesRails::ActiveRecord class #414

Copy link
Copy link
Open
@mimeri

Description

@mimeri
Issue body actions

As can be seen in the README at the end of section 3a we can manipulate the value of a search string before querying

My question is, is there a way to universalize the formatter to a class? What if I want all search terms to be stripped of spaces before performing a search? Do I have use this formatter keyword for each field? That would be repetitive.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.