Revert "[REF] use generic loadStandardSearchOptionsFromUrl". Fix search selections.
authorTim Otten <totten@civicrm.org>
Tue, 30 Jul 2019 06:14:04 +0000 (23:14 -0700)
committerTim Otten <totten@civicrm.org>
Tue, 30 Jul 2019 06:14:04 +0000 (23:14 -0700)
commit8d53ca1d0d7608a6cf932db2d51140a87eab3203
tree5389df2e29db99b6f49e00869493659b370f31af
parentd6445956bb6fca7a622c74fd5ab6f04b0f62d9cf
Revert "[REF] use generic loadStandardSearchOptionsFromUrl". Fix search selections.

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

This reverts commit a5ca2ad8e16b145edf3a5604fab923d1e2386b37
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
CRM/Contact/Form/Search.php