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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Filter for keywords with quotes not working #6432

Open
nousernameavailableanymore opened this issue May 6, 2024 · 6 comments
Open
Labels
Bug (unconfirmed) issues thar could not reproduced yeat Search 🔍
Milestone

Comments

@nousernameavailableanymore

Describe the bug

I have set up a filter like this:
'"name of TV show"'
intitle: '"name of TV show"'

The TV show is always referred to with those double quotes, as without the double quotes it would be a normal term that could be used in other context which I do not want to filter out.
So I only want to filter the search term when it appears in double quotes (signalling that the TV show is referenced, not the "normal" use of the words).

However, despite the filter, articles with that search term are still shown in my feed.

(also: how do you filter TV shows that already contain a single quote like "Let's Dance"?)

To Reproduce

Expected behavior

No response

FreshRSS version

1.23.1

Environment information

  • Database version: SQLite
  • Installation type: Docker

Additional context

No response

@nousernameavailableanymore nousernameavailableanymore added the Bug (unconfirmed) issues thar could not reproduced yeat label May 6, 2024
@Alkarex
Copy link
Member

Alkarex commented May 6, 2024

Try escaping the double-quotes like \"

@nousernameavailableanymore
Copy link
Author

Try escaping the double-quotes like \"

That also did not work.

image

@Alkarex
Copy link
Member

Alkarex commented May 7, 2024

Sorry, the syntax supposed to work is intitle:'"name of TV show"' but watch out, without space after the colon.
If it does not work, please provide a link to the feed to ease testing.

@nousernameavailableanymore
Copy link
Author

Sorry, the syntax supposed to work is intitle:'"name of TV show"' but watch out, without space after the colon. If it does not work, please provide a link to the feed to ease testing.

This is what I used at first and did not work, which is why I opened this request here.
An affected feed-URL is for example this one:
https://www.n-tv.de/rss

As a side question: when just filtering for a keyword like:
'keyword'
this filter does NOT seem to apply when the keyword is in the title.
So I had to add two lines for each entry, one with 'keyword' and a second one with intitle:'keyword'.
Is this intended or should 'keyword' also filter for the keyword in the title?

@Alkarex
Copy link
Member

Alkarex commented May 13, 2024

'keyword' is also supposed to apply to the title, so if that does not work, this is another bug

@Alkarex Alkarex added this to the 1.25.0 milestone May 13, 2024
@nousernameavailableanymore
Copy link
Author

'keyword' is also supposed to apply to the title, so if that does not work, this is another bug

Thank you for the clarification.
I need to test this again. Could be that I confused it with this issue here.

You added this to 1.25. Have you been able to confirm / reproduce the behavior with the quotes or find out what the issue was?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug (unconfirmed) issues thar could not reproduced yeat Search 🔍
Projects
None yet
Development

No branches or pull requests

2 participants