Comments (3)
I think this should not be too hard to add/fix. I have never used ext_method myself though.
from scoped_search.
So :ext_method gets passed a key, an operator, and a value. To build the ORDER BY clause you have none of those things. I think this is going to require defining a different method e.g. :ext_order_method or something...
from scoped_search.
I am willing to look into this if you can provide me a small code snippet with the expected behavior, or even better, a failing test case :).
from scoped_search.
Related Issues (20)
- Searching for future dates by relative days HOT 5
- Request for new gem release HOT 3
- A new release required HOT 5
- Exception when searching for words together with a field defined with ext_method HOT 1
- Question: Can the advanced query language be disabled? HOT 1
- Not compatible with Postgres citext column type HOT 4
- Problems searching for resources belonging to STI
- exception during autocomplete for virtual field not defined in DB HOT 8
- Query language - Temporal comparisons do not support seconds
- Postgres adapter not picked up when using PostGIS HOT 1
- "scoped_search relation:" does not pay attention to "has_many ..., primary_key:" overrides. HOT 1
- Boolean fields with complete_value hash generates AR::PreparedStatementInvalid exceptions
- undefined method `join_keys' for class `ActiveRecord::Reflection::HasManyReflection' - ActiveRecord 6.1 HOT 4
- has_rich_text relation is not supported HOT 4
- "undefined method `to_sym' for {:on=>:looking_for}:Hash\nDid you mean? to_s\n to_set" HOT 2
- Deprecated functionality for Ruby 2.7 HOT 7
- Optional sanitizing of _ and % in search values
- scoped_search not working with Ruby 3.0.2 HOT 6
- rubygems.org version differs from master branch, Ruby 3 support not included HOT 2
- Inconsistency in quoted field name interpretation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scoped_search.