Skip to content

Conversation

@tordaro
Copy link

@tordaro tordaro commented Dec 9, 2019

All rules should not be applied for each filter. Filters and rules should be applied independent of each other.

All rules should not be applied for each filter. Filters and rules should be applied independent of each other.
Copy link

@mlhetland mlhetland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn’t quite right. The idea is that first all the filters are applied, and then all the rules. With this edit, all the rules would be applied multiple times, once for each time a filter is used.

Copy link

@mlhetland mlhetland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah! I’m sorry, I was checking my original code to see what could have happened, and that code (probably present in 2nd ed.), was correct. So I flipped which version was which, here. Certainly, the rule thing should not be inside the filter thing. You’re absolutely correct. This was probably introduced by typesetting issues, and extracting the code from that. Sorry about the confusion!

@tordaro
Copy link
Author

tordaro commented Dec 9, 2019

Great! Thanks :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants