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

dev/core#1646 Merge Case Modal not showing relevant cases #16798

Merged
merged 1 commit into from Mar 16, 2020

Conversation

bjendres
Copy link
Contributor

@bjendres bjendres commented Mar 16, 2020

Overview

See https://lab.civicrm.org/dev/core/issues/1646

Before

Case type dropdown shows no more than 25 cases

After

Case type dropdown shows all cases

Technical Details

The API has a default limit of 25

Comments

Might be an issue if somebody has too many cases, which can happen.

@demeritcowboy writes:

As noted in the comments in the description, the dropdown might be unwieldy if they have a ton of cases for the same client. Note the dropdown includes closed cases too, since merging to a closed case is perfectly normal, so the number of entries in the list will always be increasing.

@civibot
Copy link

civibot bot commented Mar 16, 2020

(Standard links)

@civibot civibot bot added the master label Mar 16, 2020
@demeritcowboy
Copy link
Contributor

demeritcowboy commented Mar 16, 2020

Thanks @bjendres.

  • General standards
    • [r-explain] Suggestion
      • Just to clarify the description, it's not how many case types, it's about how many cases for the same client they have when they go to merge a case.
    • [r-user] PASS with comment
      • As noted in the comments in the description, the dropdown might be unwieldy if they have a ton of cases for the same client. Note the dropdown includes closed cases too, since merging to a closed case is perfectly normal, so the number of entries in the list will always be increasing.
    • [r-doc] PASS
    • [r-run] PASS Works
  • Developer standards
    • [r-tech] PASS
      • As discussed in lab ticket, this is the simplest approach. It doesn't require touching much code and is pretty self-contained.
    • [r-code] PASS
    • [r-maint] Undecided
    • [r-test] PASS Pending results of test run

@bjendres
Copy link
Contributor Author

@demeritcowboy thanks, have updated the description.

@eileenmcnaughton eileenmcnaughton changed the title Quick-fix for CORE-1646 dev/core#1646 Merge Case Modal not showing relevant cases Mar 16, 2020
@eileenmcnaughton
Copy link
Contributor

Merging based on @demeritcowboy's review - I'm not concerned about the [r-maint] Undecided

I do wonder if we don't have a better select2 / entity ref way of displaying but absent a bigger change this makes sense

@eileenmcnaughton eileenmcnaughton merged commit cd1a72d into civicrm:master Mar 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants