Giter Club home page Giter Club logo

Comments (9)

creecros avatar creecros commented on July 4, 2024 1

Try that, report back. I tested on my end. It now returns nothing, if nothing is found.

I will say, I had different result than you. Both A2 and A3 returned everything for me. Now they both return nothing. Probably because it found something, which would make sense with other plugins using metadata, but has nothing to display when it searches in tasks for the board. So, long story short....it is fixed

from metamagik.

creecros avatar creecros commented on July 4, 2024

what version of metamagik?

please share visuals, as I'm confused, and not understanding. might just be what you call a board I would call a task, but not sure.

from metamagik.

creecros avatar creecros commented on July 4, 2024

assuming when you say board, you mean task.

If I search for metaval:"B1" then A1B1 board shows and nothing else; works as expected If I search for metaval:"A" then A1B1 board shows and A board shows; I was expecting that only A board showed up

correct, the filter uses "ilike" they both have "A", thus, they both show up. I'm not going to change that, because its a double edge sword. possible to add a filter for exact tho.

If I search for metaval:"B1" then A1B1 board shows and nothing else; works as expected

correct, as it is the only task with "B1"

If I search for metaval:"C" then all boards show; I was expecting nothing to show.

agree, ill take a look, but I think that is just how the query works. but we could change that, I have done it before on other filters. if it finds nothing it just returns everything, sort of like a reset.

from metamagik.

bmscmoreira avatar bmscmoreira commented on July 4, 2024

Hi. Using version 1.5.0. Please see image below, I think it should clarify. I am searching for the "cfield" custom field using the metaval filter.
(look how "A2" returns nothing but "A3" returns everything, despite having no task with either "A2" or "A3" value in the cfield custom field.
Thank you.

2022-04-19_11-41-45_PM

from metamagik.

creecros avatar creecros commented on July 4, 2024

ya, that's weird...

from metamagik.

bmscmoreira avatar bmscmoreira commented on July 4, 2024

Found something: I am using "coverimage" plugin as well - and since it uses a custom field as well, it's affecting the query. It would be extremely useful having the possibility to search for a specific customfield :)

from metamagik.

creecros avatar creecros commented on July 4, 2024

that kind of makes sense, and is a good starting point to solve it. Coverimage stores the image ID in the metadata, so, maybe when searching for "A3" there just happens to be a task that has "A3" in the image id? Just a guess, try adding, "Status:Open", in your search query? This is not something I will have time to troubleshoot anytime soon.

from metamagik.

creecros avatar creecros commented on July 4, 2024

i say that, but the more i look at it and think about it, it still doesn't make sense, that shouldn't affect it at all...who knows.

from metamagik.

bmscmoreira avatar bmscmoreira commented on July 4, 2024

Thanks. Works perfectly!

from metamagik.

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.