SearchKit - Switch results table to use a search display
authorColeman Watts <coleman@civicrm.org>
Sat, 7 Aug 2021 15:42:12 +0000 (11:42 -0400)
committerColeman Watts <coleman@civicrm.org>
Mon, 9 Aug 2021 13:23:44 +0000 (09:23 -0400)
commit957358aa4b1cde0a34d9f5fea6734fc1e59c145a
treebb18fdca4ad0ee8031747ad64080155afc70471e
parente362bd2f6e12faf9eef869fb51ce568384bc4d55
SearchKit - Switch results table to use a search display

This greatly simplifies the SearchKit admin code by creating a
specialized searchDisplay (copied from crmSearchDisplayTable) which
eliminates all the code for the admin screen to fetch, format and display results.
16 files changed:
ext/search_kit/Civi/Api4/Action/SearchDisplay/Run.php
ext/search_kit/ang/crmSearchAdmin.module.js
ext/search_kit/ang/crmSearchAdmin/compose.html [moved from ext/search_kit/ang/crmSearchAdmin/compose/criteria.html with 100% similarity]
ext/search_kit/ang/crmSearchAdmin/compose/controls.html [deleted file]
ext/search_kit/ang/crmSearchAdmin/compose/debug.html [deleted file]
ext/search_kit/ang/crmSearchAdmin/compose/pager.html [deleted file]
ext/search_kit/ang/crmSearchAdmin/compose/results.html [deleted file]
ext/search_kit/ang/crmSearchAdmin/crmSearchAdmin.component.js
ext/search_kit/ang/crmSearchAdmin/crmSearchAdmin.html
ext/search_kit/ang/crmSearchAdmin/crmSearchAdminDisplay.component.js
ext/search_kit/ang/crmSearchAdmin/resultsTable/crmSearchAdminResultsTable.component.js [new file with mode: 0644]
ext/search_kit/ang/crmSearchAdmin/resultsTable/crmSearchAdminResultsTable.html [new file with mode: 0644]
ext/search_kit/ang/crmSearchAdmin/resultsTable/debug.html [new file with mode: 0644]
ext/search_kit/ang/crmSearchDisplay/traits/searchDisplayBaseTrait.service.js
ext/search_kit/ang/crmSearchTasks/traits/searchDisplayTasksTrait.service.js
ext/search_kit/css/crmSearchAdmin.css