Code Monkey home page Code Monkey logo

plg_system_filtermagic's People

Contributors

crystalenka avatar nikosdion avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

plg_system_filtermagic's Issues

"clear" button does not clear local storage

The clear button clears the filters and refreshes the page, but the previous filters remain in local storage, which causes issues with pagination:

Screen.Recording.2023-03-06.at.20.38.15.mp4

Clear all filters?

Is it possible to clear all filters at once? Adding and then clicking a button type reset just sets it to the cached state.

Custom field checkboxes never show results

If there is a custom field of type checkboxes in an article, the article never returns as a result.

I checked the database and it seems the values are stored like so (in a subform):

{"field42":["children-families","youth"]}

But the query is looking for:

(`fv42`.`value` LIKE '%\"field42\":\"children-families\"%' OR `fv42`.`value` LIKE '%\"field42\":\"youth\"%'))

So there is never a match.

In cases like this I would expect to have an article return if it matched either value, so the "OR" is correct, but the query doesn't work in this situation because of how the data is stored.

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.