Git Product home page Git Product logo

Comments (6)

fzaninotto avatar fzaninotto commented on May 14, 2024

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.

megayu avatar megayu commented on May 14, 2024
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.

fzaninotto avatar fzaninotto commented on May 14, 2024

Which version of ng-admin are you using?

from ng-admin-postgrest.

megayu avatar megayu commented on May 14, 2024

"ng-admin": "~0.6.0", using 0.7.0 fix some other problem like exportFields, but not this one

from ng-admin-postgrest.

pleyo avatar pleyo commented on May 14, 2024

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.

begriffs avatar begriffs commented on May 14, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.