Comments (6)
Isn't it what's already done in https://github.com/marmelab/ng-admin-postgrest/blob/master/main.js#L39-L55? Do you actually see a bug? If yes, can you describe it?
from ng-admin-postgrest.
listView.filters([
nga.field('year').label('Year')
])
input "2005" then filter, then parameter is like _filters={"year":"2005"}
, it should be year=eq.2005
from ng-admin-postgrest.
Which version of ng-admin are you using?
from ng-admin-postgrest.
"ng-admin": "~0.6.0"
, using 0.7.0 fix some other problem like exportFields
, but not this one
from ng-admin-postgrest.
Yep, same issue here.
I added a addFullRequestInterceptor as explain here https://github.com/marmelab/ng-admin/blob/master/doc/API-mapping.md#filtering
params[filter] = 'eq.' + params._filters[filter];
Need some improvements though.
from ng-admin-postgrest.
It looks like the code running on http://marmelab.com/ng-admin-postgrest still has the _filters
behavior. If you've got new code to fix that can you deploy it to the demo server please?
from ng-admin-postgrest.
Related Issues (3)
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 ng-admin-postgrest.