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

CRM-21135 - Activity filter preference are not remembered when enable… #10932

Merged
merged 1 commit into from
Sep 1, 2017

Conversation

jitendrapurohit
Copy link
Contributor

…d in display preference

Overview

RC fix for #10930.

Before

Reload of a page removes the filter setting saved in the database.

After

works fine.

Technical Details

This seem to be due to the difference in form fields which is activity_type_filter_id and activity_type_exclude_filter_id and the setting saved in db does not include filter text in it - activity_type_id and activity_type_exclude_id respectively.

Either this need to handled by:

  • changing the form id of this field to be the same as of db setting key OR
  • replace db id with the form id as done in this PR(used to be the same in previous versions).

Comments

unit test added.


@eileenmcnaughton
Copy link
Contributor

@monishdeb @jitendrapurohit - per #10930 if you feel good about this I endorse it going into the rc

@colemanw colemanw merged commit b0f78d9 into civicrm:4.7.24-rc Sep 1, 2017
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.

3 participants