SearchKit - Improve custom/packaged tab UI to be more responsive
authorColeman Watts <coleman@civicrm.org>
Sun, 21 Nov 2021 16:26:40 +0000 (11:26 -0500)
committerColeman Watts <coleman@civicrm.org>
Mon, 22 Nov 2021 02:28:10 +0000 (21:28 -0500)
commit21f9ffa0cae0d2ab6cb8dbe53c3f4465b92f9b46
tree60503ebff7487be5a0370d0dc98b7cd155803d3e
parent6994a4b73293e49ee0b8913519e9601f294bd109
SearchKit - Improve custom/packaged tab UI to be more responsive

Instead of using one searchDisplay with a hidden filter, which causes ajax reload when switching tabs,
this creates 2 search displays which are always present but shown/hidden by the tabs.
ext/afform/admin/ang/afAdmin/afAdminList.controller.js
ext/search_kit/ang/crmSearchAdmin.module.js
ext/search_kit/ang/crmSearchAdmin/searchListing/crmSearchAdminSearchListing.component.js
ext/search_kit/ang/crmSearchAdmin/searchListing/crmSearchAdminSearchListing.html