Skip to content

Weird behaviour while filtering and aggregating #147

@cbr4l0k

Description

@cbr4l0k

Hey, first of all, thanks for the merge... It's been working amazingly, and I guess it's more coherent with the design of the project. That's why I'm asking first now, before coding :D

I noticed some behavior that feels weird when I use the tool, and I don't know if it's just me thinking in a different way.

Currently, when I run blog I get all the things that I have in my queue, makes sense. But then, when I want to add a filter like 1d.. or /f, the behavior changes, because it adds the .all filter to the query (actually removes the .unread filter from the default query).

Not sure if this is intentional, but I think that it would feel more natural to add the .all after starting to filter, rather than actually losing the .unread functionality.

If I'm not wrong, it would only mean changing the read_filter from ReadFilter::Any into ReadFilter::Unread; and of course, adjusting some tests 😜

Hope you are doing great :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions