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

The Journal no longer caches filters #2521

Closed
jniles opened this issue Feb 7, 2018 · 0 comments · Fixed by #2528
Closed

The Journal no longer caches filters #2521

jniles opened this issue Feb 7, 2018 · 0 comments · Fixed by #2528
Assignees
Labels

Comments

@jniles
Copy link
Contributor

jniles commented Feb 7, 2018

It seems like all filters (at least the account filter) are no longer cached when you search from them in the Journal. They should be persistent unless they have the flag "cacheable" as "0".

@jniles jniles added the Bug label Feb 7, 2018
@jniles jniles self-assigned this Feb 8, 2018
jniles added a commit to jniles/bhima that referenced this issue Feb 8, 2018
This commit fixes a typo that caused filters to no longer be cached on
the journal.  The code has also been improved by only checking for the
cacheable flag when the filter is attempting to be cached.  This avoids
having to add any values to the modules that use FilterService.

Additionally, I've updated all files I've manipulated to pass ESLint.

Closes IMA-WorldHealth#2521.
bors bot added a commit that referenced this issue Feb 8, 2018
2528: fix(journal): cache filters typo r=jniles a=jniles

This commit fixes a typo that caused filters to no longer be cached on the journal.  The code has also been improved by only checking for the cacheable flag when the filter is attempting to be cached.  This avoids
having to add any values to the modules that use FilterService.

Additionally, I've updated all files I've manipulated to pass ESLint.

Closes #2521.
@bors bors bot closed this as completed in #2528 Feb 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant