Giter VIP home page Giter VIP logo

Comments (6)

mage-eag avatar mage-eag commented on July 19, 2024

This is definitely a good idea, that in fact could be a new customization option for the text columns, called eg "Filter Type", and which would let the choice between :

  • default filter (equal or like with surrounding % or not),
  • negative filter (not equal or not like with surrounding % or not),
  • with/without values filter,
  • regex-based filter (still have to check older Magento versions for this one, but I guess it should anyway be achievable)

Don't hesitate if you have other filter type ideas ! :)

from mage-enhanced-admin-grids.

mage-eag avatar mage-eag commented on July 19, 2024

Available for testing in the 1.0.0-wip branch.

Also thinking to add a new option, to let the filter mode and negative flag be determined from the input.

from mage-enhanced-admin-grids.

peterjaap avatar peterjaap commented on July 19, 2024

Nice! Will check out asap :) 👍

from mage-enhanced-admin-grids.

peterjaap avatar peterjaap commented on July 19, 2024

Seems to work pretty well! It's a bit of shame that 'Negative filter' can't be triggered by inputting something in the filter field, such as [!] as a prefix.

So; p(.*)jaap will return 'peterjaap' when set as regex filter, but [!]p(.*)jaap wil return all rows that don't have anything with 'peterjaap' or 'pooooojaap' in it.

from mage-enhanced-admin-grids.

mage-eag avatar mage-eag commented on July 19, 2024

Shortcuts are now available for both the filter modes and the negative filter, thanks for your feedback !

from mage-enhanced-admin-grids.

paales avatar paales commented on July 19, 2024

@mage-eag Have you added documentation somewhere how this works? Also, maybe an additional feature request, is it maybe possible to search for multiple values? Maybe with a pipe | character or something?

advanced filtering possibilities for text, options and country columns (except for the original grid columns, as for the rest)

Is it maybe possible to implement these filteroptions for the original grid columns as well? To be able to search on the SKU with a wildcard would be a nice feature.

from mage-enhanced-admin-grids.

Related Issues (20)

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.