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

Revert "[REF] use generic loadStandardSearchOptionsFromUrl". Fix search selections. #14929

Merged
merged 1 commit into from
Jul 30, 2019

Conversation

totten
Copy link
Member

@totten totten commented Jul 30, 2019

Backport of #14918 to current stable

…ch selections.

Overview
-------------------

This reverts commit a5ca2ad
and fixes a bug in management of the prev/next cache. The
bug is visible when following this procedure:

1. In browser, use "Quick search" to search for text "am"
2. In browser, select checkboxes next to two items
3. In MySQL CLI, run `select * from civicrm_prevnext_cache where is_selected =1;`
4. In browser, continue to next page. Observe that there are no more selection.
5. In MySQL CLI, re-run SQL query. Observe that the selections have disappeared.

Before
-------------------

Proceeding to another page of search results causes loss of selections

After
-------------------

Selections are preserved
@civibot
Copy link

civibot bot commented Jul 30, 2019

(Standard links)

@seamuslee001
Copy link
Contributor

added MOP

@eileenmcnaughton
Copy link
Contributor

unrelated fails - if we drop a 5.15.x there are other patches to considerr

@eileenmcnaughton eileenmcnaughton merged commit b330ddb into civicrm:5.15 Jul 30, 2019
@totten totten deleted the 5.15-prevnext branch July 31, 2019 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants