Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repetitive results when negating labels #1792

Open
spalger opened this issue Apr 30, 2019 · 4 comments

Comments

Projects
None yet
3 participants
@spalger
Copy link
Contributor

commented Apr 30, 2019

Are you experiencing this issue in octobox.io or your own instance?

  • octobox.io
  • My instance

馃悶 Problem
When trying to hide notifications with a specific label the search comes back with one result for each label the matching notifications has:

image

馃幆 Goal
Notifications should only be listed once.

@andrew andrew added the bug label Apr 30, 2019

@andrew

This comment has been minimized.

Copy link
Member

commented Apr 30, 2019

Yep, that's a bug, thanks for reporting!

@andrew

This comment has been minimized.

Copy link
Member

commented Apr 30, 2019

Looks like it's only happening for notifications with more than one label, I'm fairly sure it's a problem with the sql query, likely that a distinct needs to be added in.

@misterikkit

This comment has been minimized.

Copy link

commented May 10, 2019

Not sure whether I should file a separate bug, but I also noticed that notifications containing the negated label are shown in search results (provided they have at least one other label).

In other words, it appears that the filter is searching for any notification with (a label that does not match the filter).

@andrew

This comment has been minimized.

Copy link
Member

commented May 10, 2019

I think it鈥檚 the same bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can鈥檛 perform that action at this time.