Add survey question drag-sort and backend assets
- Frontend editor: drag-to-sort questions with dedicated sort assets/JS - Backend list/search refinements for tl_survey and tl_survey_content - Repository helpers for survey/question/editor queries - Translations and AI handover notes update
This commit is contained in:
@@ -32,7 +32,7 @@ $GLOBALS['TL_DCA']['tl_survey_content'] = [
|
||||
'sorting' => [
|
||||
'mode' => 4,
|
||||
'fields' => ['sorting'],
|
||||
'headerFields' => ['title', 'alias', 'published'],
|
||||
'headerFields' => ['title', 'published'],
|
||||
'child_record_class' => 'survey-question-record',
|
||||
'panelLayout' => 'sort,search,limit',
|
||||
],
|
||||
@@ -44,6 +44,13 @@ $GLOBALS['TL_DCA']['tl_survey_content'] = [
|
||||
'edit' => [
|
||||
'href' => 'act=edit',
|
||||
'icon' => 'edit.svg',
|
||||
'primary' => true,
|
||||
],
|
||||
'cut' => [
|
||||
'href' => 'act=paste&mode=cut',
|
||||
'method' => 'POST',
|
||||
'icon' => 'mover.svg',
|
||||
'attributes' => 'data-action="contao--scroll-offset#store"',
|
||||
],
|
||||
'copy' => [
|
||||
'href' => 'act=copy',
|
||||
|
||||
Reference in New Issue
Block a user